diff options
author | Robby Russell <robby@planetargon.com> | 2015-02-10 11:20:52 -0800 |
---|---|---|
committer | Robby Russell <robby@planetargon.com> | 2015-02-10 11:20:52 -0800 |
commit | 52177162f72296d16e67afa765533236bf2198eb (patch) | |
tree | 2259bf6c9af89e8dcab2449f5e0aa5d024b4810e /plugins/last-working-dir | |
parent | 49b4e675e05e4383f1eb229b1cd0e7401c9a25ec (diff) | |
parent | 8ccfc3d444a36905003397083ac5ece46eda2a3b (diff) | |
download | zsh-52177162f72296d16e67afa765533236bf2198eb.tar.gz zsh-52177162f72296d16e67afa765533236bf2198eb.tar.bz2 zsh-52177162f72296d16e67afa765533236bf2198eb.zip |
Merge pull request #3479 from faceleg/patch-1
Removing 'local' usage to prevent issue when installed with antigen
Diffstat (limited to 'plugins/last-working-dir')
-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() { |