git fetch wasn't the solution

This commit is contained in:
lhark 2015-06-07 00:57:27 +02:00
parent 06cf29ecee
commit 7f3ff2955e

1
zshrc
View file

@ -14,7 +14,6 @@ export PATH=$PATH:/usr/local/sbin:/usr/sbin:/sbin:~/bin
# Mise à jour automatique à partir du repo distant
cd /home/$USER/rc
git fetch
if $(git status --porcelain -b 2> /dev/null | grep '^## .*behind' &> /dev/null); then
echo "Type Y to update .zshrc: \c"
read line