Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
'whence' question
- X-seq: zsh-users 19347
- From: Ray Andrews <rayandrews@xxxxxxxxxxx>
- To: Zsh Users <zsh-users@xxxxxxx>
- Subject: 'whence' question
- Date: Wed, 05 Nov 2014 10:33:10 -0800
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
This seems right, the '-a' switch doesn't take wildcards:
$ whence -a zsh
/usr/local/bin/zsh
/usr/bin/zsh
/bin/zsh
... however the '-m' switch accepts wildcards:
$ whence -m "zsh*"
/usr/local/bin/zsh
/usr/local/bin/zsh-ok
/usr/local/bin/zsh-test1
/usr/local/bin/zsh-test2-orig-rebuild
/bin/zsh4
/bin/zsh5
... yet, although '/usr/local/bin/zsh' is found, all of the other files
found by
'whence -a zsh' above are missed. How is it that '/usr/local/bin/zsh'
matches
'zsh*' but '/bin/zsh' does not?
Messages sorted by:
Reverse Date,
Date,
Thread,
Author