Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: [[ -x =command ]]



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