This commit is contained in:
Thomas Forgione
2016-12-08 22:23:07 +01:00
parent a77f5fab75
commit a3e0a2287d
3 changed files with 13 additions and 8 deletions

View File

@@ -1,12 +1,12 @@
# Check if zshrc has been modified
# I like jokes, but I prefer when I'm the one who makes them
git -C $DOTFILES diff --exit-code zshrc zsh > /dev/null 2>&1
if [ $? -ne 0 ]; then
echo >&2 "Your zshrc has been modified... nothing will be executed, please check it"
alias source=:
return
fi
# git -C $DOTFILES diff --exit-code zshrc zsh > /dev/null 2>&1
#
# if [ $? -ne 0 ]; then
# echo >&2 "Your zshrc has been modified... nothing will be executed, please check it"
# alias source=:
# return
# fi
# Set to this to use case-sensitive completion
# CASE_SENSITIVE="true"