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

Re: symlink chain.



Another little gotcha:

   $ whence -s /usr/bin/zsh
   /usr/bin/zsh -> /usr/local/bin/zsh-5.0.7-165-g2194da1

   $ whence -sa /usr/bin/zsh
   (nothing)


... why would the '-a' switch kill the '-s' switch?

But only sometimes:

   $ whence -as zsh

   /usr/local/bin/zsh -> /usr/local/bin/zsh-5.0.7-165-g2194da1
   /usr/bin/zsh -> /usr/local/bin/zsh-5.0.7-165-g2194da1
   /bin/zsh -> /usr/local/bin/zsh-5.0.7-165-g2194da1

... with the broader search pattern, '-as' is happy to show the symlink.



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