Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [[ -x =command ]]
- X-seq: zsh-users 12031
- From: Stephane Chazelas <Stephane_Chazelas@xxxxxxxx>
- To: Richard Hartmann <richih.mailinglist@xxxxxxxxx>
- Subject: Re: [[ -x =command ]]
- Date: Wed, 17 Oct 2007 15:47:20 +0100
- Cc: Matthew Wozniski <godlygeek@xxxxxxxxx>, zsh-users@xxxxxxxxxx
- In-reply-to: <2d460de70710170617g2730fe81u197bd0bc2073cab8@xxxxxxxxxxxxxx>
- Mail-followup-to: Richard Hartmann <richih.mailinglist@xxxxxxxxx>, Matthew Wozniski <godlygeek@xxxxxxxxx>, zsh-users@xxxxxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20071016210548.26560.qmail@xxxxxxxxxxx> <20071016211319.GA2910@xxxxxxxxxxxxxxx> <20071016214100.62242.qmail@xxxxxxxxxxx> <20071017094414.GA5383@xxxxxxxxxxxxxxx> <20071017113432.GA13054@mastermind> <20071017125242.GB5383@xxxxxxxxxxxxxxx> <2d460de70710170617g2730fe81u197bd0bc2073cab8@xxxxxxxxxxxxxx>
On Wed, Oct 17, 2007 at 03:17:58PM +0200, Richard Hartmann wrote:
> On 17/10/2007, Stephane Chazelas <Stephane_Chazelas@xxxxxxxx> wrote:
>
>
> > You're right,
> >
> > You could use whence -p instead, but then it would no longer be
> > portable.
>
> whence is a built-in, so unless I am missing something, it should be the
> most portable solution.
[...]
I just meant portable as in accros shells. So that you can put
it in /etc/profile for instance. It's true it is not big
trouble if it's not standard code as what you probably want is
for it to work with zsh.
--
Stéphane
Messages sorted by:
Reverse Date,
Date,
Thread,
Author