helm/zsh/paths

20 lines
345 B
Plaintext
Raw Normal View History

2013-03-07 00:58:05 -08:00
#!/bin/bash
2013-03-03 05:49:37 -08:00
if command-exists brew; then
2013-03-03 05:49:37 -08:00
BREWDIR=`brew --prefix`
2013-03-08 21:18:27 -08:00
PATH=$BREWDIR/sbin:$PATH
PATH=$BREWDIR/bin:$PATH
2013-03-03 05:49:37 -08:00
COREUTIL=`brew --prefix coreutils`
if [ -d "$COREUTIL" ]; then
2013-03-08 21:18:27 -08:00
PATH=`brew --prefix coreutils`:$PATH
2013-03-03 05:49:37 -08:00
fi
fi
2013-03-08 21:18:27 -08:00
PATH=$HOME/.rvm/bin:$PATH
if [ -d ~/.dotfiles ]; then
PATH=~/.dotfiles/bin:$PATH
fi