current_path should be local
This commit is contained in:
parent
b3084aa238
commit
4fe4155ecc
1 changed files with 1 additions and 1 deletions
|
@ -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'
|
||||
|
|
Loading…
Add table
Reference in a new issue