Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Separate cdpath elements in path-directories completion
- X-seq: zsh-users 28947
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Re: Separate cdpath elements in path-directories completion
- Date: Sat, 18 Feb 2023 15:03:34 -0800
- Archived-at: <https://zsh.org/users/28947>
- In-reply-to: <20230218211046.vj3p4k7y6uraytpo@singold.localdomain>
- List-id: <zsh-users.zsh.org>
- References: <20230218211046.vj3p4k7y6uraytpo@singold.localdomain>
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