Terminal not working after Yosemite installation
You installed another version of bash,right? The default login shell is /bin/bash. you can change it following these steps,


go to "System Preferences" > "Users &amp; Groups"
click the "padlock" icon and authenticate
right-click the icon for your user and select "Advanced Options..."
change the value for "Login shell" to "/bin/bash"