linux shell终端颜色设置额
linux shell终端颜色设置额
# for color
export CLICOLOR=1
# \h:\W \u\$
export PS1='\[\e[01;32m\]\u@\h\[\e[00m\]:\[\e[01;34m\]\W\[\e[00m\]\$ '
# grep
alias grep='grep --color=always'
alias ll='ls -l'
linux shell终端颜色设置额
# for color
export CLICOLOR=1
# \h:\W \u\$
export PS1='\[\e[01;32m\]\u@\h\[\e[00m\]:\[\e[01;34m\]\W\[\e[00m\]\$ '
# grep
alias grep='grep --color=always'
alias ll='ls -l'