Customize Mac Terminal
Getting bored with your Mac terminal??
When you first get your Macbook, you are so execited and thinking you’ll become a geek. When you open you terminal, you are assuming you’ll get a fansy UI you saw on other people’s screen. However, what you actually get is this:
Here’s a simple way to do to make it looks better:
- Open you white bored Terminal and type nano .bash_profile.
- Paste below scripts in the file:
export PS1="\[\033[36m\]\u\[\033[m\]@\[\033[32m\]\h:\[\033[33;1m\]\w\[\033[m\]\$ "
export CLICOLOR=1
export LSCOLORS=ExFxBxDxCxegedabagacad
alias ls='ls -GFh'
- Press Control + O to save your change. And press Control + X to exit.
- In the terminal, type cat .bash_profile to verify your change.
- Close the current terminal window and open a new one.
It will become like this: