検索したらいっぱい出てくるのだが、Mac OS XのTerminal.appで ls -G を実行した時の色分けで、ディレクトリの色が青なのが黒背景だとすごく見づらいので、シアンに変更してみた。 変更前↓ 変更後↓ やりかたは、Interpreting Color "ls" Output | Mac Geekeryを参考に、.zshrcに export LSCOLORS=gxfxcxdxbxegedabagacad を追加してから source .zshrc を実行。環境変数LS_COLORSを使うのがGNU ls流儀らしいのだけど、そうでなくてLSCOLORSなのはBSD系だからかな? その後ろのgxfxcx〜というやつは、 # Type Foreground Background 1,2 Directory blue (default) 3,4 Symlink magenta (def
![Terminal.appでlsのファイル色を変える - by edvakf in hatena](https://cdn-ak-scissors.b.st-hatena.com/image/square/eb8eec52f731cb463bca9c28b998b6ef94f24e8e/height=288;version=1;width=512/https%3A%2F%2Fcdn-ak.f.st-hatena.com%2Fimages%2Ffotolife%2Fe%2Fedvakf%2F20080413%2F20080413073929.png)