How to change terminal $HOME variable? My terminal can’t even be opened now

terminal

I mean change $HOME not by defining in ~/.bash_profile, but loading the variable when shell opens.

By the way, after some misoperation I cannot even get into the Terminal now… It now says [Process completed] and does not respond, as it should when every time it exits. Is there a way to configure or re-install the Terminal?

Best Answer

I think the reason your terminal is acting up is that the default command has been changed somehow.

In preferences->Startup see what is set terminal preferences

I suspect that the Command is running something other than a shell. Change it back to Default login shell and all will be fine.