mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-04 20:37:15 +08:00
16 lines
414 B
Tcsh
16 lines
414 B
Tcsh
|
setenv XDG_DATA_HOME ${HOME}/.local/share
|
||
|
setenv XDG_CONFIG_HOME ${HOME}/.config
|
||
|
setenv XDG_CACHE_HOME ${HOME}/.cache
|
||
|
|
||
|
if (! ($?XDG_DATA_DIRS) ) then
|
||
|
setenv XDG_DATA_DIRS /usr/share/:/usr/local/share/
|
||
|
else
|
||
|
setenv XDG_DATA_DIRS /usr/share/:/usr/local/share/:${XDG_DATA_DIRS}
|
||
|
endif
|
||
|
|
||
|
if (! ($?XDG_CONFIG_DIRS) ) then
|
||
|
setenv XDG_CONFIG_DIRS /etc/xdg
|
||
|
else
|
||
|
setenv XDG_CONFIG_DIRS /etc/xdg:${XDG_CONFIG_DIRS}
|
||
|
endif
|