helm/zsh/paths
2014-03-28 02:51:56 -04:00

23 lines
539 B
Bash

if [ -e /usr/local/bin/brew ]; then
BREWDIR=`/usr/local/bin/brew --prefix`
PATH=$BREWDIR/sbin:$PATH
PATH=$BREWDIR/bin:$PATH
COREUTIL=`$BREWDIR/bin/brew --prefix coreutils`
if [ -d "$COREUTIL" ]; then
PATH=$COREUTIL/libexec/bin/gnubin:$PATH
fi
fi
# 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
# global bins
PATH=$HOME/.dotfiles/bin:$PATH
# vim:set ft=zsh: