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

Re: listing all executables matching 'foo'



>>>>> "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