summaryrefslogtreecommitdiff
path: root/12_Prompts.zsh
diff options
context:
space:
mode:
authorHugues Hiegel <hugues@hiegel.fr>2012-04-26 10:53:33 +0200
committerHugues Hiegel <hugues@hiegel.fr>2012-04-26 10:53:33 +0200
commitbe48d7ed06c14dd303822f86dde74a057a111e03 (patch)
tree306f9966747d5aecdd65bcc51e5afcb85dcb7e48 /12_Prompts.zsh
parent512a16ece9fc2576185b4e97c2bf46871d059f17 (diff)
[Trash] Protects pathnames with spaces
Diffstat (limited to '12_Prompts.zsh')
-rw-r--r--12_Prompts.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/12_Prompts.zsh b/12_Prompts.zsh
index 248b627..8083888 100644
--- a/12_Prompts.zsh
+++ b/12_Prompts.zsh
@@ -52,7 +52,7 @@ chpwd()
fi
- hash -d trash=$TRASH$(readlink -f $PWD)
+ hash -d trash="$TRASH$(readlink -f "$PWD")"
}
__expand_text()