Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Duplicate completion for external commands on Cygwin
- X-seq: zsh-users 14035
- From: Atom Smasher <atom@xxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: Duplicate completion for external commands on Cygwin
- Date: Tue, 14 Apr 2009 10:39:06 +1200 (NZST)
- In-reply-to: <grl99n$ufh$2@xxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- Openpgp: id=0xB88D52E4D9F57808; algo=1 (RSA); size=4096; url=http://atom.smasher.org/pgp.txt
- References: <grk7rh$qg0$2@xxxxxxxxxxxxx> <20090409072938.30193.qmail@xxxxxxxxxxx> <090409084510.ZM24524@xxxxxxxxxxxxxxxxxxxxxx> <grl99n$ufh$2@xxxxxxxxxxxxx>
On Thu, 9 Apr 2009, Thorsten Kampe wrote:
That works - the hash/unhash stuff didn't make a difference at all. I
finally went for
[[ $OSTYPE = cygwin ]] && zstyle ':completion:*:-command-:*' \
ignored-patterns '*.dll' '*.exe'
===================
a slight improvement makes the match case insensitive:
[[ ${OSTYPE} == cygwin ]] && zstyle \
':completion:*:-command-:*' ignored-patterns '(#i)*.exe' '(#i)*.dll'
thanks bart & thorsten!
--
...atom
________________________
http://atom.smasher.org/
762A 3B98 A3C3 96C9 C6B7 582A B88D 52E4 D9F5 7808
-------------------------------------------------
"Any society which does not insist upon respect for all
life must necessarily decay."
-- Albert Einstein
Messages sorted by:
Reverse Date,
Date,
Thread,
Author