assume default values if xdg dirs not set

This commit is contained in:
Luke Smith
2020-04-08 17:21:40 -04:00
parent 2c06dd36c6
commit 422d106fba
32 changed files with 86 additions and 91 deletions

View File

@@ -42,5 +42,5 @@ alias mpv="mpv --input-ipc-server=/tmp/mpvsoc$(date +%s)"
# Some other stuff
alias \
magit="nvim -c MagitOnly" \
ref="shortcuts >/dev/null; source $XDG_CONFIG_HOME/shortcutrc" \
weath="less -S $XDG_DATA_HOME/weatherreport" \
ref="shortcuts >/dev/null; source ${XDG_CONFIG_HOME:$HOME/.config}/shortcutrc" \
weath="less -S ${XDG_DATA_HOME:$HOME/.local/share}/weatherreport" \