diff options
author | Robby Russell <robby@planetargon.com> | 2015-01-31 06:23:50 -0600 |
---|---|---|
committer | Robby Russell <robby@planetargon.com> | 2015-01-31 06:23:50 -0600 |
commit | 550ccca91cb45fcf26a8f2c3c60da675b995e3f3 (patch) | |
tree | bae0321bcee402b24fb9320a02e1991b1be26553 /plugins/last-working-dir/last-working-dir.plugin.zsh | |
parent | 1ac2f8645e9cec48cbcb036f02479d3666ae13c8 (diff) | |
parent | ceb42ecdb6296b136e3ead9e6ab53c24a01fedc9 (diff) | |
download | zsh-550ccca91cb45fcf26a8f2c3c60da675b995e3f3.tar.gz zsh-550ccca91cb45fcf26a8f2c3c60da675b995e3f3.tar.bz2 zsh-550ccca91cb45fcf26a8f2c3c60da675b995e3f3.zip |
Merge pull request #3478 from stephenrjohnson/custom_cache_dir
Allow custom cache dir
Diffstat (limited to 'plugins/last-working-dir/last-working-dir.plugin.zsh')
-rw-r--r-- | plugins/last-working-dir/last-working-dir.plugin.zsh | 4 |
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() { |