看到Ubuntu的command line上的 ls 都很繽紛
很容易就可以看出資料夾與檔案的差別
就不用看得眼花撩亂
於是google一下發現有一篇超棒!
裡面還有一個網站是可以手選顏色在自動產生指令去修改顏色
先到 ~
ls -al
找到.bash_profile檔
vim /.bash_profile
在最下面加入
export CLICOLOR='true'
export LSCOLORS="gxfxcxdxcxegedabagacad"
畫面就票釀囉
分享一下現在我的bash_profile:
參考:
- mac 讓終端機ls有顏色: http://sodahau.logdown.com/posts/18879-mac-ls