Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Duplicate completion for external commands on Cygwin
- X-seq: zsh-users 14019
- From: Thorsten Kampe <thorsten@xxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: Duplicate completion for external commands on Cygwin
- Date: Thu, 9 Apr 2009 17:37:13 +0200
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <grk7rh$qg0$2@xxxxxxxxxxxxx> <20090409072938.30193.qmail@xxxxxxxxxxx>
- Sender: news <news@xxxxxxxxxxxxx>
* Atom Smasher (Thu, 9 Apr 2009 19:29:35 +1200 (NZST))
> On Thu, 9 Apr 2009, Thorsten Kampe wrote:
> > I'm running zsh 4.3.9 on Cygwin and external commands show up twice
> > when I attempt completion (see below). The background is that all
> > external commands are actually Windows executables (cat.exe for
> > example) and made available as commands without the .exe extension
> > by the Cygwin emulation layer.
> >
> > Is there a way to only show "cat" for instance and not "cat" and
> > "cat.exe"?
> ==================
>
> ## cygwin only: commands that auto-complete with and without .exe suffix
> ## are annoying.
> [[ ${OSTYPE} == cygwin ]] && { hash -f ; unhash -m '*.exe' }
Doesn't work for me. No changes...
Thorsten
Messages sorted by:
Reverse Date,
Date,
Thread,
Author