|
|
@ -12,7 +12,7 @@ |
|
|
# Ajout de */sbin au PATH (pour ifconfig en particulier) |
|
|
# Ajout de */sbin au PATH (pour ifconfig en particulier) |
|
|
export PATH=$PATH:/usr/local/sbin:/usr/sbin:/sbin:~/bin |
|
|
export PATH=$PATH:/usr/local/sbin:/usr/sbin:/sbin:~/bin |
|
|
|
|
|
|
|
|
# Check for update |
|
|
# Mise à jour automatique à partir du repo distant |
|
|
cd /home/$USER/rc |
|
|
cd /home/$USER/rc |
|
|
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" |
|
|
|