mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2026-10-02 16:03:47 +02:00
last-working-dir working with spaces in dirnames
This commit is contained in:
1 parent
d0b690b584
commit
83295ec9bc
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user