diff options
author | Christian Hoener zu Siederdissen <choener@tbi.univie.ac.at> | 2014-09-13 20:41:47 +0200 |
---|---|---|
committer | ncanceill <nicolas.canceill@ens-cachan.org> | 2015-06-13 11:00:58 +0200 |
commit | 83295ec9bc0a7c16a706a76c3c1f4a6ddd91948a (patch) | |
tree | fc78ff5a7bc1cd5fb0f3d29da8328d5268ce38dc /plugins | |
parent | d0b690b584fa48946cfd93014aa6033ec0cc7fc3 (diff) | |
download | zsh-83295ec9bc0a7c16a706a76c3c1f4a6ddd91948a.tar.gz zsh-83295ec9bc0a7c16a706a76c3c1f4a6ddd91948a.tar.bz2 zsh-83295ec9bc0a7c16a706a76c3c1f4a6ddd91948a.zip |
last-working-dir working with spaces in dirnames
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/last-working-dir/last-working-dir.plugin.zsh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/last-working-dir/last-working-dir.plugin.zsh b/plugins/last-working-dir/last-working-dir.plugin.zsh index 4fa6fcc34..75041f08e 100644 --- a/plugins/last-working-dir/last-working-dir.plugin.zsh +++ b/plugins/last-working-dir/last-working-dir.plugin.zsh @@ -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 |