|
|
|
@ -18,7 +18,7 @@ RC_PATH=$(dirname "$(readlink -f ${(%):-%x})") |
|
|
|
|
|
|
|
# Mise à jour automatique à partir du repo distant |
|
|
|
|
|
|
|
PWD=`pwd` |
|
|
|
CUR_DIR=`pwd` |
|
|
|
cd $RC_PATH |
|
|
|
|
|
|
|
# In case the network is down, don't lock the terminal |
|
|
|
@ -39,13 +39,13 @@ elif $(echo "$git_st" | grep '^## .*behind' &> /dev/null); then |
|
|
|
if [ "$line" = Y ] || [ "$line" = y ]; then |
|
|
|
git pull --rebase --stat origin master |
|
|
|
$RC_PATH/install.sh |
|
|
|
cd $PWD |
|
|
|
cd $CUR_DIR |
|
|
|
source $HOME/.zshrc |
|
|
|
return |
|
|
|
fi |
|
|
|
fi |
|
|
|
|
|
|
|
cd $PWD |
|
|
|
cd $CUR_DIR |
|
|
|
|
|
|
|
|
|
|
|
# Configuration for virtualenv |
|
|
|
|