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

Re: directory completion for a function



Frank Terbeck <frank.terbeck@xxxxxxxxxxxxxx> wrote:
> Stefan Reichör <stefan@xxxxxxxxx> wrote:
> > function create-tgz {
> [...]
> > Now I would like to have completion for directory names for that
> > function. How can I achieve that?
> 
> compdef _dirs create-tgz

compdef _directories create-tgz

_dirs is for the dirs builtin... sorry

Regards, Frank



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