shortcuts.sh runs only if no ~/.shortcuts file

This commit is contained in:
Luke Smith 2018-08-03 19:03:20 -04:00
parent 57b74b1f1b
commit 1b8c8f8dab

View file

@ -9,7 +9,7 @@ export BROWSER="firefox"
export READER="zathura"
export BIB="$HOME/Documents/LaTeX/uni.bib"
[[ -f ~/.scripts/shortcuts.sh ]] && ~/.scripts/shortcuts.sh
[[ ! -f ~/.shortcuts ]] && ~/.scripts/shortcuts.sh 2>/dev/null
[[ -f ~/.bashrc ]] && . ~/.bashrc