That is a slightly ugly color on Apple Terminal against iTerm. Because Apple Terminal supports only 256 colors. So I wanted to use bash on Apple Terminal.
How to Solve
So I added following lines in~/.zshrcfile.
if[$TERM_PROGRAM!="iTerm.app"];then bash fi
It means ‘Execute bash shell when terminal is not iTerm’.
Ok, pretty terminal is back.
But this solution causes a troublesome problem. It causes alert like below when closing window.
It’s because of bash we make execute when launching terminal window.
So I tried to find some proper property on Apple Terminal preferences. And fortunately found it.
I can configure toAsk before closing,Only if there are processes other than the login shell and:bashlike following:
Note
In fact, I wanted to branch off at the point where I started running the shell(zsh or bash). But I could not find the shell starting point. I think somebody may knows. Then I hope to let me know.