mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-09-19 17:16: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>