1
0
Fork 0
mirror of synced 2024-09-07 14:46:22 -04:00

Use $OLDPWD instead of ~- to return to previous directory

This commit is contained in:
Jan Clarin 2017-03-26 03:02:57 -06:00
parent 0db07b21d9
commit d3827483b2

View file

@ -11,4 +11,4 @@ git merge --ff-only @\{u\}
git submodule update --init --recursive
# return to previous directory after update
cd ~-
cd $OLDPWD