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

Re: problems with #compdef



Bart Schaefer (schaefer@xxxxxxxxxxxxxxxx) wrote:
> On Aug 15,  4:15pm, Adam Spiers wrote:
> }
> } Yet $_comps[pd] is undefined, and pressing TAB after `pd ' results in
> } standard file completion. What have I missed?
> 
> Are you possibly using "compinit -C"?

Yes, I am.  Well spotted :-)

> Did you remove your .zcompdump file so it can be rebuilt?

Well I ran compdump, which I thought was equivalent, but evidently
not, because removing it does indeed work.  Thanks a lot.  So why
isn't compdump sufficient?



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