mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-12-19 20:29:45 +01:00
plugin last-working-dir: create cache-directory if it doesn't exist
This commit is contained in:
parent
51e05b7579
commit
98bd19a036
1 changed files with 1 additions and 0 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue