Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Oh My Zsh
Commits
1ad2104d
Commit
1ad2104d
authored
Dec 03, 2012
by
Robby Russell
Browse files
Merge pull request #1463 from syphar/fix_last_working_dir
plugin last-working-dir: create cache-directory if it doesn't exist
parents
51e05b75
98bd19a0
Changes
1
Hide whitespace changes
Inline
Side-by-side
plugins/last-working-dir/last-working-dir.plugin.zsh
View file @
1ad2104d
...
...
@@ -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.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment