Browse files

fix zsh tab completion, which I believe has been broken since 84ace8e

  • Loading branch information...
1 parent a508e83 commit 08044a32c5f735796ac3ea93862ef8931db4ae72 @rupa committed Aug 2, 2011
Showing with 2 additions and 1 deletion.
  1. +2 −1 z.sh
View
3 z.sh
@@ -189,7 +189,8 @@ elif compctl &> /dev/null; then
_z_zsh_tab_completion() {
local compl
read -l compl
+ echo $compl >> $HOME/fffuuu
reply=(${(f)"$(_z --complete "$compl")"})
}
- compctl -U -K _z_zsh_tab_completion ${_Z_CMD:-z}
+ compctl -U -K _z_zsh_tab_completion _z
fi

0 comments on commit 08044a3

Please sign in to comment.