自分で、コマンドをショートカットにして作ったわ。
最近はprefix を使わない
ショートカットを集める場所
/usr/local/opt/coreutils/libexec/gnubin
にショートカットが集まっている
ショートカットを作るコマンド
takuya@rena:~/Desktop$ link_gnu_coreutils.rb Usage: link_gnu_coreutils [options] -e, --link brew の gnuコマンドを/usr/local/bin にリンクします -d, --unlink brew の gnuコマンドを/usr/local/bin から削除します
結局ディレクトリが変わるとシェルスクリプトとか全部影響するから無理なんだよね。ッて言われても。あるべきところに無い方が気持ち悪い
なので、自分でリンクを作ることにした。
gist9111130
/usr/lobal/bin/cut がないとか気持ち悪いって。
g プレフィックスは OSXと住み分けるために必要
All commands have been installed with the prefix 'g'. If you really need to use these commands with their normal names, you can add a "gnubin" directory to your PATH from your bashrc like: PATH="/usr/local/opt/coreutils/libexec/gnubin:$PATH" Additionally, you can access their man pages with normal names if you add the "gnuman" directory to your MANPATH from your bashrc as well: MANPATH="/usr/local/opt/coreutils/libexec/gnuman:$MANPATH"