Browse Source

Remove useless stderr

merge-requests/1/merge
lhark 10 years ago
parent
commit
5d8f841811
  1. 7
      zshrc

7
zshrc

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

Loading…
Cancel
Save