]> git.rmz.io Git - dotfiles.git/blobdiff - zsh/plugins/last-working-dir/last-working-dir.plugin.zsh
Squashed commit of the following + cleanup afterwards:
[dotfiles.git] / zsh / plugins / last-working-dir / last-working-dir.plugin.zsh
index 5b3121d11d1992b2377cdf111f1d931a0b570bc1..190bc279d505cc9c985023f10a12ee694dbd3067 100644 (file)
@@ -4,6 +4,7 @@
 
 # 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"
 
 # Updates the last directory once directory is changed.