I used to be a ubuntu user but switched to Mac recently. I really want to configure the colorscheme of iterm2 to look act like ubuntu default terminal as much as possible.
The biggest problem is I can't configure the color of the current path. in Ubuntu, it is like
However, in iterm2, the bobby laptop name
and the ~/Documents
are the same color when I change the foreground. This is really annoying. It is really painful to look at your file path tangled with the machine name.
In iterm2, the bobby laptop name and the ~/Documents are the same color when you change the foreground.
You might adjust the Minimum Contrast to the maximum value.
Just adjust the Minimum Contrast to the middle value.
After some comments, I know you wanna change the PS1 part of bash.
Just use command
nano ~/.bash_profile
and paste the code to the end of the file:Restart your terminal to see what happened.
You can adjust the color, the fonts, the text in terminal settings. Then you will get what you want.
For more information, you can search "OS X Terminal Colors".