タグ

2014年4月26日のブックマーク (2件)

  • Homebrewを快適に使うために設定してる4つのこと | Macとかの雑記帳

    Homebrewを快適に使うために私が実施してる設定の晒しです。$PATHの変更、コマンドの短縮、リポジトリの追加、Homebrewの環境変数の4つを設定してます。 デフォルトでも問題ありませんが、$PATHは変更しておいた方がいいと思います。 1 sbinの作成と $PATH の設定 Homebrewが使用する/usr/local/binはデフォルトでパスが通っているので、通常は設定を変更する必要はありません。 しかし、Macバンドルのソフト(最初から入ってるやつ)をHomebrewで入れ直す場合は、/usr/local/binが優先されるようにします。そうしないと入れたソフトを使う事ができません。 また、nginxやclamavなどのソフトは/usr/local/sbinにリンクを作成します。これはデフォルトで存在しないためパスが通っていません。 ソフト導入時に警告やエラーが表示されて

    Homebrewを快適に使うために設定してる4つのこと | Macとかの雑記帳
    feketerigoremet
    feketerigoremet 2014/04/26
    パスの順番で/usr/binが/usr/local/binより先にあったため参照にemacsがデフォルトのやつ使われていた。
  • Is there a quick way to relink my homebrew kegs?

    I just upgraded my MacBook Air to Mavericks. The process appears to have removed almost all of the symlinks that homebrew put in /usr/local/bin. As I notice things missing then I relink them via brew unlink <keg> && brew link <keg> (although the symlinks are gone, homebrew still thinks they are there so I need to unlink first). This feels somewhat inefficient. I could just loop through everything

    Is there a quick way to relink my homebrew kegs?
    feketerigoremet
    feketerigoremet 2014/04/26
    Macをmavericsにアップデートしたら幾つかlinkが外れてたから全部再リンク