diff --git a/functions/update-omz b/functions/update-omz index d9af39f8..3a24330f 100644 --- a/functions/update-omz +++ b/functions/update-omz @@ -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'