zshrc: export SHELL only if unset, don't hardcode path for zsh binary
authorMichael Prokop <mika@grml.org>
Thu, 22 May 2014 10:12:36 +0000 (12:12 +0200)
committerMichael Prokop <mika@grml.org>
Thu, 22 May 2014 10:12:36 +0000 (12:12 +0200)
commitcd0cfc77c94225e4955668c4d05a1b2a2b7e7f22
tree646055ea6baa6497eb4b718adc384f688fcad8e2
parentc5df73fd74fb9a15b74095efd6312b931ceb0096
zshrc: export SHELL only if unset, don't hardcode path for zsh binary

On e.g. FreeBSD zsh isnt' necessarily available as /bin/zsh, so
let's make that more flexible. Also while at it export SHELL only
if the variable is unset yet, since setting SHELL should be
something the login system care about.

Acked-by: Frank Terbeck <ft@grml.org>
etc/zsh/zshrc