Back up all data.
Select
Shell ▹ New Command
from the Terminal menu bar. Uncheck the box marked
Run command inside a shell
if checked.
Copy and paste the following line into the text box that opens, then press return:
mkdir disabled_shell_files
Close the Terminal window that opens. Repeat with this line:
mv .profile .bash_history .bash_profile .bashrc .inputrc disabled_shell_files
Your old shell initialization and history files will be saved in a directory named "disabled_shell_files" at the top level of your home directory. It's normal that some of these files will not exist, and therefore you will get some "no such file" errors.
Close the window, open a new one, and test.