current_path should be local

This commit is contained in:
Jonathan Dahan 2012-01-27 15:32:36 -05:00
parent b3084aa238
commit 4fe4155ecc

View file

@ -15,7 +15,7 @@
#
# ( [ ! -f ~/.omz-update ] || [ ~/.omz-update(Nmh+6) ] ) && update-omz && touch ~/.omz-update
current_path=$PWD
local current_path=$PWD
cd $OMZ_HOME
zstyle -t ':omz:function:update-omz' auto-commit || local nocommit='--no-commit'