bash prompt with color


in ~/.bash_profile, add

export PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '

Date: 2016-05-17

Tags:  bash

Share: