Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Exclude non-executables from command completion
- X-seq: zsh-users 14402
- From: Eike von Seggern <eikevons@xxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Exclude non-executables from command completion
- Date: Thu, 17 Sep 2009 18:08:26 +0200
- Mail-followup-to: zsh-users@xxxxxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
Dear list,
I just changed my default shell from bash to zsh and I haven't regretted
it so far. There's only one thing that comes to my mind every now and
then:
Is it possible, that command completion only completes on commands that
are actually executable? As it happens I have to work on machines that
have non-executables in directories in $PATH.
I already tried something like
zstyle ':completion:*:complete:-command-::commands' ignored-patterns '*(f:u-x:)'
but it didn't work.
Cheers,
eike
Messages sorted by:
Reverse Date,
Date,
Thread,
Author