Bulblub

config.fish for phpenv, rbenv, homebrew, npm

May 31, 2013

昨日書いたFish ShellはじめましたでPATHは直で書かなくてもいいと思ってたんですが、優先順序やphpenvとrbenvに問題が合ったのでconfig.fishに書きました。

# ~/.config/fish/config.fish # homebrew set -x PATH /usr/local/bin /usr/local/sbin $PATH
# phpenv #eval ”$(phpenv init -)” set -x PATH $HOME/.phpenv/bin $PATH set -x PATH $HOME/.phpenv/shims $PATH phpenv rehash >/dev/null ^&1
# rbenv #eval ”$(rbenv init -)”; set -x PATH $HOME/.rbenv/bin $PATH set -x PATH $HOME/.rbenv/shims $PATH rbenv rehash >/dev/null ^&1
# npm #export PATH=“/usr/local/share/npm/bin:$PATH” set -x PATH /usr/local/share/npm/bin $PATH

Tags:

Tomotsugu Kaneko

Written by Tomotsugu Kaneko who lives and works in Japan. Follow me on Twitter