mirror of
https://gitee.com/mirrors/ohmyzsh.git
synced 2026-08-02 04:34:01 +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>