Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Duplicate completion for external commands on Cygwin
- X-seq: zsh-users 14020
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: Duplicate completion for external commands on Cygwin
- Date: Thu, 09 Apr 2009 08:45:10 -0700
- In-reply-to: <20090409072938.30193.qmail@xxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <grk7rh$qg0$2@xxxxxxxxxxxxx> <20090409072938.30193.qmail@xxxxxxxxxxx>
On Apr 9, 7:29pm, Atom Smasher wrote:
}
} > 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' }
Or:
zstyle ':completion:*:-command-:*' ignored-patterns '*.exe'
Messages sorted by:
Reverse Date,
Date,
Thread,
Author