summaryrefslogtreecommitdiff
path: root/plugins/last-working-dir
diff options
context:
space:
mode:
authorStephen <srj@thermeon.com>2015-01-08 16:38:05 +0000
committerStephen <srj@thermeon.com>2015-01-08 16:38:05 +0000
commitceb42ecdb6296b136e3ead9e6ab53c24a01fedc9 (patch)
tree67595696e92eced06fd08c6b74f1d111ae67130c /plugins/last-working-dir
parentbf7b9165fd725d2bdf45ca7e639b2c91f5ef65bb (diff)
downloadzsh-ceb42ecdb6296b136e3ead9e6ab53c24a01fedc9.tar.gz
zsh-ceb42ecdb6296b136e3ead9e6ab53c24a01fedc9.tar.bz2
zsh-ceb42ecdb6296b136e3ead9e6ab53c24a01fedc9.zip
Update /home/srj/.oh-my-zsh/cache references
Diffstat (limited to 'plugins/last-working-dir')
-rw-r--r--plugins/last-working-dir/last-working-dir.plugin.zsh4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/last-working-dir/last-working-dir.plugin.zsh b/plugins/last-working-dir/last-working-dir.plugin.zsh
index bc36c80db..e472578b0 100644
--- a/plugins/last-working-dir/last-working-dir.plugin.zsh
+++ b/plugins/last-working-dir/last-working-dir.plugin.zsh
@@ -4,8 +4,8 @@
# Flag indicating if we've previously jumped to last directory.
typeset -g ZSH_LAST_WORKING_DIRECTORY
-mkdir -p "$ZSH/cache"
-local cache_file="$ZSH/cache/last-working-dir"
+mkdir -p $ZSH_CACHE_DIR
+local cache_file="$ZSH_CACHE_DIR/last-working-dir"
# Updates the last directory once directory is changed.
function chpwd() {