Skip to content

Commit

Permalink
last-working-dir working with spaces in dirnames
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian Hoener zu Siederdissen authored and ncanceill committed Jun 13, 2015
1 parent d0b690b commit 83295ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/last-working-dir/last-working-dir.plugin.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 83295ec

Please sign in to comment.