On Fri, 2 Jan 2009 21:55:44 +0000
Clint Adams <[email protected]> wrote:
> autoload -Uz compinit;compinit
Thanks, that works, 'ls -<TAB>' and the options show up.
For BTS browsers who don't want to backtrack, the fix so far is:
zsh -f
rm -rf ~/.zsh/cache ~/.zcompdump
autoload -Uz compinit;compinit
Restarting as regular 'zsh' the bug comes back... so, assuming there's
now enough data to answer: is this a 'zsh' bug, or was and is my
config somehow borked? If my config is borked, what's the right way to
make this fix permanent & default?
BTW: I notice the 'zsh' switch completion seems more thorough than that
of 'bash'. 'bash' only does a '--' (double hyphen) completion, but
'zsh' does single and double hyphens. The 'fish' shell has completion
powers comparable to 'zsh'.
Another observation, maybe different bug. With the above fix, if I do:
ls --n<TAB>
'zsh' auto-completes this as:
ls --n-g
...which does not currently seem to be an 'ls' option. Hitting <TAB> a
second time auto-completes as:
ls --no-group
...which is a proper 'ls' option. Bug, or maybe some legacy 'ls' option?
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]