summaryrefslogtreecommitdiffstats
path: root/bashrc
diff options
context:
space:
mode:
authorAlexander Sulfrian <alexander@sulfrian.net>2012-05-04 21:47:06 +0200
committerAlexander Sulfrian <alexander@sulfrian.net>2012-05-04 21:47:06 +0200
commite49071ac0a2c2f8a3660a94bbbc9d457331d6ad9 (patch)
treef0b77677a24aeeec9201b15c886001fe517805f4 /bashrc
parent6ba964aa8b846b9fc02ddf318aa0158fcbf73e4b (diff)
downloaddotfiles-e49071ac0a2c2f8a3660a94bbbc9d457331d6ad9.tar.gz
dotfiles-e49071ac0a2c2f8a3660a94bbbc9d457331d6ad9.tar.xz
dotfiles-e49071ac0a2c2f8a3660a94bbbc9d457331d6ad9.zip
bashrc/main: leave .dotfiles directory after timeout
Diffstat (limited to 'bashrc')
-rw-r--r--bashrc/main.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/bashrc/main.sh b/bashrc/main.sh
index 3ecae9f..c78f500 100644
--- a/bashrc/main.sh
+++ b/bashrc/main.sh
@@ -22,6 +22,7 @@ _self_update() {
timeout 3s git fetch origin 2>/dev/null
if [[ "$?" == "124" ]]; then
echo -e "\033[31m*\033[0m timeout: git fetch origin"
+ popd &>/dev/null
return
fi
else