Remove useless stdout
This commit is contained in:
parent
c5e645069c
commit
9e722a145b
1 changed files with 3 additions and 3 deletions
6
zshrc
6
zshrc
|
@ -18,7 +18,7 @@ RC_PATH=$(dirname "$(readlink -f ${(%):-%x})")
|
|||
|
||||
# Mise à jour automatique à partir du repo distant
|
||||
|
||||
pushd
|
||||
pushd > /dev/null
|
||||
cd $RC_PATH
|
||||
|
||||
# In case the network is down, don't lock the terminal
|
||||
|
@ -37,12 +37,12 @@ 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
|
||||
git pull --rebase --stat origin master && source $HOME/.zshrc && popd > /dev/null
|
||||
return
|
||||
fi
|
||||
fi
|
||||
|
||||
popd
|
||||
popd > /dev/null
|
||||
|
||||
|
||||
# Configuration for virtualenv
|
||||
|
|
Loading…
Reference in a new issue