zsh-users
 help / color / mirror / code / Atom feed
* 'whence' question
@ 2014-11-05 18:33 Ray Andrews
  2014-11-05 17:49 ` Oliver Kiddle
  2014-11-05 17:50 ` Peter Stephenson
  0 siblings, 2 replies; 10+ messages in thread
From: Ray Andrews @ 2014-11-05 18:33 UTC (permalink / raw)
  To: Zsh Users

[-- Attachment #1: Type: text/plain, Size: 551 bytes --]

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?


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2014-11-06 22:54 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-05 18:33 'whence' question Ray Andrews
2014-11-05 17:49 ` Oliver Kiddle
2014-11-05 18:00   ` Peter Stephenson
2014-11-06  4:43     ` Bart Schaefer
2014-11-06 21:45       ` Ray Andrews
2014-11-06 21:53         ` Bart Schaefer
2014-11-06 23:15           ` Ray Andrews
2014-11-06 22:54             ` Bart Schaefer
2014-11-05 19:15   ` Ray Andrews
2014-11-05 17:50 ` Peter Stephenson

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).