Skip to content
Commit a6a093ba authored by Marc Cornellà's avatar Marc Cornellà
Browse files

installer: improve zsh binary path search in setup_shell



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: default avatarJoel Kuzmarski <leoj3n@gmail.com>
parent 9d2b3ce7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment