summaryrefslogtreecommitdiff
path: root/plugins/last-working-dir
diff options
context:
space:
mode:
authorAshley Valent <avalent@atlassian.com>2015-02-11 11:22:15 +1100
committerAshley Valent <avalent@atlassian.com>2015-02-11 11:22:15 +1100
commit3b6a695b60d81691ab8e31197fc8e0444df0e394 (patch)
tree84529e1bc0a54cdd9471e53c597e913797c04014 /plugins/last-working-dir
parent3ba10ad0a2ed85c26e096126a7899a401cf8f9e7 (diff)
parentef7e53a78d0e4196c2d1e6e5b268209759d51753 (diff)
downloadzsh-3b6a695b60d81691ab8e31197fc8e0444df0e394.tar.gz
zsh-3b6a695b60d81691ab8e31197fc8e0444df0e394.tar.bz2
zsh-3b6a695b60d81691ab8e31197fc8e0444df0e394.zip
Merge branch 'master' of github.com:avalent/oh-my-zsh
Diffstat (limited to 'plugins/last-working-dir')
-rw-r--r--plugins/last-working-dir/last-working-dir.plugin.zsh2
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() {