Where/how can I get colorful terminal?

bashrc
color
terminal
bash

#1

I’d like to get/have the same colorful terminal on my Mac!
where/how can I install/add to my bashrc?


#2

Hello!

On OSX it’s actually pretty easy to get a colour prompt.

from your home directory, edit the following (in terminal)

nano .bash_profile

Mine looks like this:

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'

You can customize the username/directory prompt by changing your PS1 string, the website below is what I use to make it:

http://bashrcgenerator.com/

Props to Kclawl for showing me that site, wherever he is :slight_smile: