Editor ~/.bash_profile
alias ls="ls -G"
# for color
export CLICOLOR=1
# \h:\W \u\$
export PS1=‘\[\033[01;33m\]\[email protected]\h\[\033[01;31m\] \W\$\[\033[00m\] ‘
注:如果没有生效: $source .bash_profile
时间: 2024-10-11 21:35:40
Editor ~/.bash_profile
alias ls="ls -G"
# for color
export CLICOLOR=1
# \h:\W \u\$
export PS1=‘\[\033[01;33m\]\[email protected]\h\[\033[01;31m\] \W\$\[\033[00m\] ‘
注:如果没有生效: $source .bash_profile