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

Re: whence question



On Fri, 13 Jan 2017, Ray Andrews wrote:

> Is this to be expected:
>
>    $ touch grub-r
>
>    $ whence -ma grub-r*
>

To expound a little on Daniel's answer, touching the file has made
"grub-r*" into a pattern that generates a file name, so instead of looking
for all commands matching the pattern you're looking for all commands
matching the name of the file -- of which there are none.



Messages sorted by: Reverse Date, Date, Thread, Author