|
@@ -4,8 +4,8 @@
|
|
|
|
|
|
# Flag indicating if we've previously jumped to last directory.
|
|
# Flag indicating if we've previously jumped to last directory.
|
|
typeset -g ZSH_LAST_WORKING_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.
|
|
# Updates the last directory once directory is changed.
|
|
function chpwd() {
|
|
function chpwd() {
|