helm/zsh/paths

23 lines
539 B
Plaintext
Raw Normal View History

2013-12-17 17:03:03 -08:00
if [ -e /usr/local/bin/brew ]; then
BREWDIR=`/usr/local/bin/brew --prefix`
2013-03-03 05:49:37 -08:00
2013-03-08 21:18:27 -08:00
PATH=$BREWDIR/sbin:$PATH
PATH=$BREWDIR/bin:$PATH
2013-03-03 05:49:37 -08:00
2013-12-17 17:03:03 -08:00
COREUTIL=`$BREWDIR/bin/brew --prefix coreutils`
2013-03-03 05:49:37 -08:00
if [ -d "$COREUTIL" ]; then
PATH=$COREUTIL/libexec/bin/gnubin:$PATH
2013-03-03 05:49:37 -08:00
fi
fi
2014-03-27 23:51:56 -07:00
# rbenv paths
[ -d $HOME/.rbenv ] && PATH=$HOME/.rbenv/bin:$HOME/.rbenv/shims:$PATH
# hostname-specific bins
[ -d $HOME/.dotfiles/bin/`hostname` ] && PATH=$HOME/.dotfiles/bin/`hostname`:$PATH
2014-03-27 23:51:56 -07:00
# global bins
2013-12-19 06:51:00 -08:00
PATH=$HOME/.dotfiles/bin:$PATH
2013-03-22 18:10:59 -07:00
# vim:set ft=zsh: