diff options
author | Michael Robinson <mike@pagesofinterest.net> | 2015-01-09 08:33:51 +1300 |
---|---|---|
committer | Michael Robinson <michael.robinson@kiwirail.co.nz> | 2015-02-02 11:52:07 +1300 |
commit | 8ccfc3d444a36905003397083ac5ece46eda2a3b (patch) | |
tree | 51fede8d3d6908002f8dac8802f0b10c1fbff398 /plugins | |
parent | 550ccca91cb45fcf26a8f2c3c60da675b995e3f3 (diff) | |
download | zsh-8ccfc3d444a36905003397083ac5ece46eda2a3b.tar.gz zsh-8ccfc3d444a36905003397083ac5ece46eda2a3b.tar.bz2 zsh-8ccfc3d444a36905003397083ac5ece46eda2a3b.zip |
Removing 'local' usage to prevent issue when installed with antigen
Error encountered when installed with antigen: "chpwd:2: no such file or directory:". Solution described in https://github.com/zsh-users/antigen/issues/75
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/last-working-dir/last-working-dir.plugin.zsh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/last-working-dir/last-working-dir.plugin.zsh b/plugins/last-working-dir/last-working-dir.plugin.zsh index e472578b0..4fa6fcc34 100644 --- a/plugins/last-working-dir/last-working-dir.plugin.zsh +++ b/plugins/last-working-dir/last-working-dir.plugin.zsh @@ -5,7 +5,7 @@ # Flag indicating if we've previously jumped to last directory. typeset -g ZSH_LAST_WORKING_DIRECTORY mkdir -p $ZSH_CACHE_DIR -local cache_file="$ZSH_CACHE_DIR/last-working-dir" +cache_file="$ZSH_CACHE_DIR/last-working-dir" # Updates the last directory once directory is changed. function chpwd() { |