Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Decreasing needed TABs for completion
- X-seq: zsh-users 27183
- From: Gürkan <seqizz@xxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Decreasing needed TABs for completion
- Date: Thu, 30 Sep 2021 16:09:18 +0200
- Archived-at: <https://zsh.org/users/27183>
- List-id: <zsh-users.zsh.org>
Hi,
When using tab completion on app-parameter (e.g. not for "cd"), I'd
like to automatically "prefer" directories if possible.
It's kinda hard for me to explain, so please consider following tree:
a/
something.py # <-- a file
something/ # <-- a directory
something_else.py ...
When I do "vim a/so<tab>", buffer becomes "vim a/something".
On second <tab>, it shows "something.py" and "something/" as valid
options (without changing buffer).
On third <tab> it selects first one, but doesn't remove the suggestions.
That is the level (on 3rd <tab>) I'd like to land with first <tab> if possible.
Is there a way to achieve this?
Thanks,
--
Gürkan
Messages sorted by:
Reverse Date,
Date,
Thread,
Author