The default shell switched from csh to zsh for the 5784 (תשפ"ד) distribution. Machines booting from old distributions (including the phoenix and moriah clusters) will continue to use the old default. The default shell is the only supported shell.
As chsh isn't available, if you'd like to change your shell you can put one of the code snippets below at top of your ~/.cshrc
After adding these lines any interactive tcsh shell will change to the selected shell. In order to run an interactive tcsh shell (one time), the FORCE_CSH envrionment variable needs to be set, e.g.:
env FORCE_CSH=1 tcsh
Please note that some scripts and courses assume that tcsh is the shell and will only work on tcsh. When changing your shell you'll have to handle yourself such instances.
if (! $?FORCE_CSH && $?prompt && -x /bin/zsh ) then
setenv SHELL /bin/zsh
exec /bin/zsh
endif
if (! $?FORCE_CSH && $?prompt && -x /bin/bash ) then
setenv SHELL /bin/bash
exec /bin/bash
endif
As chsh isn't available (yet), if you'd like to change your shell you can put one of the code snippets below at top of your ~/.zshrc
Support for changing shells on the 5784 distribution using chsh is planned.
After adding these lines any interactive zsh shell will change to the selected shell. In order to run an interactive zsh shell (one time), the FORCE_ZSH envrionment variable needs to be set, e.g.:
env FORCE_ZSH=1 zsh
Please note that some scripts and courses assume that zsh is the shell and will only work on zsh. When changing your shell you'll have to handle yourself such instances.
[[ ! -v FORCE_ZSH && -o interactive && -x /bin/csh ]] && SHELL=/bin/csh exec /bin/csh
[[ ! -v FORCE_ZSH && -o interactive && -x /bin/bash ]] && SHELL=/bin/bash exec /bin/bash