- Initially had bash as default shell prompt and the ~ had .bashrc, .bash_profile etc file.
- To try zsh, I installed the zsh locally and also have the .zshrc in the ~ path.
- Then to have the default shell as zsh, I tried chsh -s ~/local path/zsh pointing to my local zsh. After entering the password, it got changed and was able to run and test things.
- Now, when I tried going back to default shell of bash, using the same command in step 3, it says the shell got changed. Then I closed the terminal and re-opened and it keep showing the zsh as default with that usual zshell configuration prompt.
- I tried removing all the .zshrc etc etc. and reopened the terminal again, but its not changing. Also tried killing the vnc session and re-opened a new one and the result is same.
I am confused what am I supposed to do now to get back to the default bash shell. Please let me know. Thanks.
Used the following command: chsh -s /bin/bash It asked for default password, after entering it says Shell Changed.
When I try grep bash /etc/shells it shows, /bin/bash /usr/bin/bash
I closed the terminal and re-opened and it stays to the same default zsh and ask to configure the zshell prompt.