White scenery @showyou, hatena

If you have any comments, you may also send twitter @shsub or @showyou.

lsの青文字が見づらい

壁紙が明るいと、濃い青とか見づらいのです。

lsコマンドで表示されるファイルの色を変更するには、 /etc/DIR_COLORSを~/.dir_colorsとしてコピーするか、 -pオプション付きでdircolorsコマンドを実行して~/.dir_colorsを作成します。

cp /etc/DIR_COLORS ~/.dir_colors
dircolors -p > ~/.dir_colors

http://uguisu.skr.jp/Windows/u_waza.html

見た感じうちのUbuntu Hardy Serverには/etc/DIR_COLORSが無いのでdircolorsを実行。
「DIR 01;34」となってるので、「DIR 01;36」と書き換える。色に関しては↑のURL参照。

んで変更したら

eval `dircolors ~/.dir_colors -b`

ってやって反映させる。


はい、できあがりー(ヴァンプ将軍風に)