Bashrc配置

LS_COLORS='di=1;36:ln=35:so=32:pi=33:ex=31:bd=34;46:cd=34;43:su=30;41:sg=30;46:tw=30;42:ow=30;43'

PS1='\[\033[38;5;11m\]\u\[$(tput sgr0)\]\[\033[38;5;15m\]@\h:\[$(tput sgr0)\]\[\033[38;5;14m\]\w\[$(tput sgr0)\]\[\033[38;5;209m\] λ\[$(tput sgr0)\]\[\033[38;5;15m\] \[$(tput sgr0)\]'

立即生效:source ~/.bashrc

可使用http://bashrcgenerator.com/来生成PS1配置

可使用https://geoff.greer.fm/lscolors/来生成LS配置

代码参考:http://www.bigsoft.co.uk/blog/index.php/2008/04/11/configuring-ls_colors