52177162f72296d16e67afa765533236bf2198eb

Author
Robby Russell <robby@planetargon.com>
Committer
Robby Russell <robby@planetargon.com>
Date

Message

Merge pull request #3479 from faceleg/patch-1

Removing 'local' usage to prevent issue when installed with antigen

Diff

 1diff --git a/plugins/last-working-dir/last-working-dir.plugin.zsh b/plugins/last-working-dir/last-working-dir.plugin.zsh
 2index e472578b0eaa85b9c9f58b3dc3261a30d999a4b6..4fa6fcc34800ec812a75cdd01a9ba8eecbf49fcc 100644
 3--- a/plugins/last-working-dir/last-working-dir.plugin.zsh
 4+++ b/plugins/last-working-dir/last-working-dir.plugin.zsh
 5@@ -5,7 +5,7 @@
 6 # Flag indicating if we've previously jumped to last directory.
 7 typeset -g ZSH_LAST_WORKING_DIRECTORY
 8 mkdir -p $ZSH_CACHE_DIR
 9-local cache_file="$ZSH_CACHE_DIR/last-working-dir"
10+cache_file="$ZSH_CACHE_DIR/last-working-dir"
11 
12 # Updates the last directory once directory is changed.
13 function chpwd() {