|
|
@ -37,7 +37,7 @@ elif $(echo "$git_st" | grep '^## .*behind' &> /dev/null); then |
|
|
echo "Type Y to update .zshrc: \c" |
|
|
echo "Type Y to update .zshrc: \c" |
|
|
read line |
|
|
read line |
|
|
if [ "$line" = Y ] || [ "$line" = y ]; then |
|
|
if [ "$line" = Y ] || [ "$line" = y ]; then |
|
|
git pull --rebase --stat origin master && source $HOME/.zshrc |
|
|
git pull --rebase --stat origin master && source $HOME/.zshrc && cd $CUR_PWD |
|
|
return |
|
|
return |
|
|
fi |
|
|
fi |
|
|
fi |
|
|
fi |
|
|
|