Allow spaces in directory names (fix only works for zsh)

This commit is contained in:
Simon Heimlicher committed 2011-05-03 11:53:58 +02:00
1 parent 22b68c7e96
commit a8fa136820
1 file changed
+1 -1
+1 -1
View File
@@ -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