Merge pull request #27 from simonair/master.

zsh - correctly complete directories with spaces
This commit is contained in:
rupa committed 2011-05-03 10:27:52 -07:00
commit f24af5c4a0
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