Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Force file completion when hitting TAB twice
- X-seq: zsh-users 14657
- From: Yuri D'Elia <wavexx@xxxxxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Force file completion when hitting TAB twice
- Date: Thu, 17 Dec 2009 17:58:08 +0100
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- Sender: news <news@xxxxxxxxxxxxx>
Hi everyone. I'm trying to customize the completion of zsh so that:
* when I hit TAB the default _complete completer is used.
* if no completions are available, I get a beep.
* if I hit TAB again, or hit TAB twice, I get a _files completer
(offering me to complete filenames regardless of the context).
I would *not* like to change the default completer to complete files if
no other one is available.
How can I achieve that?
The nearest thing I was able to find is this:
http://www.zsh.org/mla/users/1999/msg00051.html
Thanks for any help.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author