Customize Terminal

  • Open Terminal and type nano .bash_profile. Or, open it in Sublime Text.

  • Paste in the following code

  • Hit Control+O to save, then Control+X to exit out of nano

export PS1="\[\033[36m\]\u\[\033[m\]@\[\033[32m\]\h:\[\033[33;1m\]\w\
[\033[m\]\$ "
# Tell ls to be colourful
export CLICOLOR=1
export LSCOLORS=FxFxBxDxCxegedabagacad alias ls='ls -GFh'
# Tell grep to highlight matches
export GREP_OPTIONS='--color=auto'

Last updated