Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

compadd -f with IPREFIX.



I found a problem with zsh-3.1.5-pws-18.

Z:akr@is27e1u11% ./Src/zsh -f
is27e1u11% cat <<'End' > Completion/User/_tst
heredoc> #compdef tst
heredoc> compset -P :
heredoc> compadd -f - *
heredoc> End
is27e1u11% fpath=($PWD/Completion/*(/))
is27e1u11% . Completion/Core/compinit
is27e1u11% tst :Compl<TAB>

then, I get following.

is27e1u11% tst :Completion

I think zsh should complete a suffix "/".

Also, truss reports that zsh stat ":Completion" as following.

stat64(":Completion", 0xFFBEEF00)               Err#2 ENOENT
-- 
Tanaka Akira



Messages sorted by: Reverse Date, Date, Thread, Author