mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-11-05 14:01:16 +08:00
This changes the behavior to default to the binary found first in $PATH, then checking it's actually in the shells file (/etc/shells). If that fails go back to the previous behavior, but actually check that the path obtained exists in the filesystem. Co-authored-by: Joel Kuzmarski <leoj3n@gmail.com>