Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: tcsh -X behavior
- X-seq: zsh-users 3457
- From: Vincent Lefevre <vincent@xxxxxxxxxx>
- To: zsh-users@xxxxxxxxxxxxxx
- Subject: Re: tcsh -X behavior
- Date: Fri, 13 Oct 2000 23:23:28 +0200
- In-reply-to: <gmv7l7c4tc6.fsf@xxxxxxxxxxxxxxxxxxx>; from airwin@xxxxxxxxxx on Fri, Oct 13, 2000 at 06:08:25PM +0200
- Mail-followup-to: zsh-users@xxxxxxxxxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxxxxxxxxx; run by ezmlm
- References: <20001013172956.A16738@xxxxxxxxxxxxxxx> <gmv7l7c4tc6.fsf@xxxxxxxxxxxxxxxxxxx>
On Fri, Oct 13, 2000 at 18:08:25 +0200, Nemeth Ervin wrote:
> So in a shell-script:
>
> if hash ls 2> /dev/null; then
> :
> fi
I currently use "whence >/dev/null" (it checks for aliases too, but this
is OK for me). What is the best one?
But IMHO, a -X operator would be a good idea.
--
Vincent Lefèvre <vincent@xxxxxxxxxx> - Web: <http://www.vinc17.org/> - 100%
validated HTML - Acorn Risc PC, Yellow Pig 17, Championnat International des
Jeux Mathématiques et Logiques, TETRHEX, etc.
Work: CR INRIA - computer arithmetic / PolKA research team at LORIA
Messages sorted by:
Reverse Date,
Date,
Thread,
Author