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

Re: Separate cdpath elements in path-directories completion



On Sat, Feb 18, 2023 at 1:11 PM Sebastian Stark <sstark+zsh@xxxxxxxxxxx> wrote:
>
> Is it possible to show a separate completion section for each element in
> $cdpath?

You would have to arrange that each directory's name becomes a tag
(the "path-directories:" part in the alt= assignment) and call
"_path_files -W" separately for each directory.  There's no existing
shortcut for this.




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