I am using my school's computers and would like to use zsh instead of bash. I'd like to make it the default shell, but I cannot run a command such as $ chsh -s $(which zsh) because I don't have admin privileges. Is there a way I can put something in my .bashrc or something that automatically calls zsh when it opens as a workaround? To clarify, zsh is already installed.
Making zsh default shell without root access
bash;zsh;login;profile
Create .bash_profile in your home directory and add these lines:export SHELL=/bin/zshexec /bin/zsh -lUpdate: .profile may work as a general solution when default shell is not bash. I'm not sure if .profile may be called by Zsh as well that it could go redundant but we can do it safely with a simple check:export SHELL=/bin/zsh[ -z $ZSH_VERSION ] && exec /bin/zsh -lWe can also use which to get the dynamic path of zsh which relies on the value of $PATH:export SHELL=`which zsh`[ -z $ZSH_VERSION ] && exec $SHELL -l