From 1b8c8f8dab66aed2db84b2b5fd16f12794351c6e Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Fri, 3 Aug 2018 19:03:20 -0400 Subject: [PATCH] shortcuts.sh runs only if no ~/.shortcuts file --- .profile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.profile b/.profile index aaa0383..a86349c 100644 --- a/.profile +++ b/.profile @@ -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