Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: listing all executables matching 'foo'
- X-seq: zsh-users 2512
- From: Paul Lew <paullew@xxxxxxxxx>
- To: Sven Guckes <guckes@xxxxxxxxxxxxxxxxx>
- Subject: Re: listing all executables matching 'foo'
- Date: Wed, 25 Aug 1999 07:59:25 -0700 (PDT)
- Cc: zsh-users@xxxxxxxxxxxxxx
- In-reply-to: <19990825165338.D2803@xxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxxxxxx; run by ezmlm
- References: <19990823152219.I32224@xxxxxx> <19990823233551.B31064@xxxxxxxxxxxxxxxxxx> <19990823160716.M32224@xxxxxx> <19990823110321.A1724@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <19990825154631.C2803@xxxxxxxxxxxxxxxxxxxxxx> <19990825162223.A18978@xxxxxxxxxxxxxxxxx> <19990825165338.D2803@xxxxxxxxxxxxxxxxxxxxxx>
>>>>> "Sven" == Sven Guckes <guckes@xxxxxxxxxxxxxxxxx> writes:
Sven> * Hubert Canon (Hubert.Canon@xxxxxxxx) [990825 14:22]:
>> Gives strange things with aliases and functions :
Sven> True. So, how to take care of these?
Sven> "if type(foo)==alias"?
Just add -p to which command, which -ap instead which -a.
I often use:
ls -l $(which -ap zsh)
Messages sorted by:
Reverse Date,
Date,
Thread,
Author