From a8fa13682031c0f13a6b8896448ff0c57c52474e Mon Sep 17 00:00:00 2001 From: Simon Heimlicher Date: Tue, 3 May 2011 11:53:58 +0200 Subject: [PATCH] Allow spaces in directory names (fix only works for zsh) --- z.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/z.sh b/z.sh index a03b8df..6bcc4cf 100755 --- a/z.sh +++ b/z.sh @@ -177,7 +177,7 @@ elif compctl &> /dev/null; then _z_zsh_tab_completion() { local compl read -l compl - reply=(`z --complete "$compl"`) + reply=(${(f)"$(z --complete "$compl")"}) } compctl -U -K _z_zsh_tab_completion z fi