The default shell in FreeBSD is sh
and I really can't stand it: autocomplete is very limited, and rehash commands kill me. I feel like a one armed and one legged man...
How can I change the shell globally to zsh
or bash
- for root and for all current and future users?
For existing users, use the
chsh
command (“change shell”):For future users:
/etc/pw.conf
"defaultshell
keywordsadduser()
, choose necessary shell