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
52177162
Commit
52177162
authored
Feb 10, 2015
by
Robby Russell
Browse files
Merge pull request #3479 from faceleg/patch-1
Removing 'local' usage to prevent issue when installed with antigen
parents
49b4e675
8ccfc3d4
Changes
1
Show whitespace changes
Inline
Side-by-side
plugins/last-working-dir/last-working-dir.plugin.zsh
View file @
52177162
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,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_DIR
mkdir
-p
$ZSH_CACHE_DIR
local
cache_file
=
"
$ZSH_CACHE_DIR
/last-working-dir"
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
()
{
...
...
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