substitute ~/.config with $XDG_CONFIG_HOME
This commit is contained in:
2
.profile
2
.profile
@@ -40,7 +40,7 @@ export LESS_TERMCAP_se="$(printf '%b' '[0m')"
|
||||
export LESS_TERMCAP_us="$(printf '%b' '[1;32m')"
|
||||
export LESS_TERMCAP_ue="$(printf '%b' '[0m')"
|
||||
|
||||
[ ! -f ~/.config/shortcutrc ] && shortcuts >/dev/null 2>&1
|
||||
[ ! -f $XDG_CONFIG_HOME/shortcutrc ] && shortcuts >/dev/null 2>&1
|
||||
|
||||
# Start graphical server on tty1 if not already running.
|
||||
[ "$(tty)" = "/dev/tty1" ] && ! pgrep -x Xorg >/dev/null && exec startx
|
||||
|
||||
Reference in New Issue
Block a user