- Open Terminal
- $vi ~/.bash_profile
- Add below:
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'
- Done. Open new terminal now you have color text,
No comments:
Post a Comment