From 4fe4155ecc2d078a7ff01364f86a5a81835a4486 Mon Sep 17 00:00:00 2001 From: Jonathan Dahan Date: Fri, 27 Jan 2012 15:32:36 -0500 Subject: [PATCH] current_path should be local --- functions/update-omz | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'