summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTharre <tharre3@gmail.com>2016-07-14 03:20:35 +0200
committerTharre <tharre3@gmail.com>2016-10-07 20:13:40 +0000
commit18ab5b0e924f004592d1003c42df944b2e3e3b23 (patch)
tree7af59032b7c57153fa208d36d1d895302f335851
parente14ca42b2f706402f4dc2df95822e55802405ef8 (diff)
downloaddotfiles-18ab5b0e924f004592d1003c42df944b2e3e3b23.tar.gz
dotfiles-18ab5b0e924f004592d1003c42df944b2e3e3b23.tar.xz
dotfiles-18ab5b0e924f004592d1003c42df944b2e3e3b23.zip
Change directory back after update
-rw-r--r--shell/_zshrc1
1 files changed, 1 insertions, 0 deletions
diff --git a/shell/_zshrc b/shell/_zshrc
index 9d84fed..668e1c8 100644
--- a/shell/_zshrc
+++ b/shell/_zshrc
@@ -123,6 +123,7 @@ function update_dotfiles() {
cd "$dotfiles"
git pull --rebase --stat origin master
echo $epoch_curr > "$epoch_file"
+ cd -
echo "Finished."
fi