diff options
Diffstat (limited to 'extra/zsh/zsh.install')
-rw-r--r-- | extra/zsh/zsh.install | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/extra/zsh/zsh.install b/extra/zsh/zsh.install index a2aafa252..c9bd5b663 100644 --- a/extra/zsh/zsh.install +++ b/extra/zsh/zsh.install @@ -1,5 +1,6 @@ post_install() { - grep -q '/usr/bin/zsh' etc/shells || echo '/usr/bin/zsh' >> etc/shells + grep -qe '^/bin/zsh$' etc/shells || echo '/bin/zsh' >> etc/shells + grep -qe '^/usr/bin/zsh$' etc/shells || echo '/usr/bin/zsh' >> etc/shells } post_upgrade() { |