1.vim ~/.bash_profile
2.增加(先按i,然后粘贴)
#set color
export CLICOLOR=1
export LSCOLORS=gxfxaxdxcxegedabagacad
3.保存(先按esc,然后输入:wq)
4.source ~/.bash_profile使bash_profile生效
1.vim ~/.bash_profile
2.增加(先按i,然后粘贴)
#set color
export CLICOLOR=1
export LSCOLORS=gxfxaxdxcxegedabagacad
3.保存(先按esc,然后输入:wq)
4.source ~/.bash_profile使bash_profile生效