리눅스
centos shell color configuration
프로세스 천국
2012. 3. 5. 21:46
vi .bash
#ls color
export LS_COLORS="di=01;31":"fi=01;37":"ex=01;32":"ln=01;36":"so=01;33"
#ignore both command
export HISTCONTROL=ignoreboth
#prompt color
export PS1='\[\033[1;36m\]\u@\h \[\033[1;33m\]\w\[\033[${?/[^0]/33}m\]\$ \[\033[0;38m\]'