diff --git a/zshrc b/zshrc index 71cdec6..f3fbd3a 100644 --- a/zshrc +++ b/zshrc @@ -14,6 +14,7 @@ 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