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
Ohmyzsh
Commits
83295ec9
Commit
83295ec9
authored
Sep 13, 2014
by
Christian Hoener zu Siederdissen
Committed by
ncanceill
Jun 13, 2015
Browse files
last-working-dir working with spaces in dirnames
parent
d0b690b5
Changes
1
Hide whitespace changes
Inline
Side-by-side
plugins/last-working-dir/last-working-dir.plugin.zsh
View file @
83295ec9
...
...
@@ -15,7 +15,7 @@ function chpwd() {
# Changes directory to the last working directory.
function
lwd
()
{
[[
!
-r
"
$cache_file
"
]]
||
cd
`
cat
"
$cache_file
"
`
[[
!
-r
"
$cache_file
"
]]
||
cd
"
`
cat
"
$cache_file
"
`
"
}
# Automatically jump to last working directory unless this isn't the first time
...
...
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