diff options
author | Marc Cornellà <marc.cornella@live.com> | 2019-05-24 17:05:20 +0200 |
---|---|---|
committer | Marc Cornellà <marc.cornella@live.com> | 2019-06-03 17:18:24 +0200 |
commit | a6a093ba2aed292f0610110c0e787aca57288319 (patch) | |
tree | 106822b6968abd01a5c0ee278a8ed52aad1b92e4 /plugins/common-aliases | |
parent | 9d2b3ce79f9f7eaf989eb4606c36f84ee8eb1cfb (diff) | |
download | zsh-a6a093ba2aed292f0610110c0e787aca57288319.tar.gz zsh-a6a093ba2aed292f0610110c0e787aca57288319.tar.bz2 zsh-a6a093ba2aed292f0610110c0e787aca57288319.zip |
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: Joel Kuzmarski <leoj3n@gmail.com>
Diffstat (limited to 'plugins/common-aliases')
0 files changed, 0 insertions, 0 deletions