Rebuilding FreeBSD!
David Benfell
benfell at parts-unknown.org
Thu Dec 31 10:36:10 UTC 2015
On 12/30/2015 10:06 PM, Bertram Scharpf wrote:
> Not actually a different shell. Just install another one from
> ports/packages. To avoid disappointments I recommend to leave csh or
> sh in /etc/passwd at least for root.
Having used zsh for well over a decade in both Linux and BSD systems, I
have never found it necessary to leave csh or sh or bash as the root
shell. Scripts all have their own #! line so they'll use the shell
they're written for (pretty much always sh in FreeBSD ports and the base
system as far as I know).
I *do*, however, suggest keeping a copy of your preferred shell's
package handy (pkg create is your friend), just in case something breaks
in an upgrade.
And I agree about zsh versus bash. I'm sure there are some who will
disagree with me and I suppose it's possible that my notion of expected
behavior is a consequence of prejudice, but I find zsh's behavior much
more predictable.
--
David Benfell
benfell at parts-unknown.org
More information about the freebsd-questions
mailing list