This commit is contained in:
Christian Hoener zu Siederdissen 2015-02-08 22:13:35 +01:00
commit 43b569dab4
23 changed files with 199 additions and 125 deletions

View file

@ -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() {