2011年4月10日日曜日

macの.bashrc

macの~/.bashrcは単体では読み込まれないらしい。
~/.bash_profileというファイルを作り、そこから参照することで読み込まれる。

▼例:svn用エディタ指定
{{{
$ cat .bash_profile
if [ -f ~/.bashrc ] ; then
. ~/.bashrc
fi

$ cat .bashrc
export SVN_EDITOR=/usr/bin/vi

$
}}}

0 件のコメント: