Commit 98bd19a0 authored by Denis Cornehl's avatar Denis Cornehl
Browse files

plugin last-working-dir: create cache-directory if it doesn't exist

parent 51e05b75
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
# 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" local cache_file="$ZSH/cache/last-working-dir"
# Updates the last directory once directory is changed. # Updates the last directory once directory is changed.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment