git fetch wasn't the solution
This commit is contained in:
parent
06cf29ecee
commit
7f3ff2955e
1 changed files with 0 additions and 1 deletions
1
zshrc
1
zshrc
|
@ -14,7 +14,6 @@ export PATH=$PATH:/usr/local/sbin:/usr/sbin:/sbin:~/bin
|
||||||
|
|
||||||
# Mise à jour automatique à partir du repo distant
|
# Mise à jour automatique à partir du repo distant
|
||||||
cd /home/$USER/rc
|
cd /home/$USER/rc
|
||||||
git fetch
|
|
||||||
if $(git status --porcelain -b 2> /dev/null | grep '^## .*behind' &> /dev/null); then
|
if $(git status --porcelain -b 2> /dev/null | grep '^## .*behind' &> /dev/null); then
|
||||||
echo "Type Y to update .zshrc: \c"
|
echo "Type Y to update .zshrc: \c"
|
||||||
read line
|
read line
|
||||||
|
|
Loading…
Reference in a new issue