Add <pwd>/vendor/bin to $PATH.

Signed-off-by: Jacob Kiers <jacob@alphacomm.nl>
This commit is contained in:
Jacob Kiers 2015-01-14 15:47:39 +01:00
parent f3c4c0275a
commit 9eaea22b9f

View File

@ -46,9 +46,9 @@ PATH="/usr/bin:/bin:/usr/sbin:/sbin"
[ -d /usr/local/sbin ] && _prepend_path "/usr/local/sbin" [ -d /usr/local/sbin ] && _prepend_path "/usr/local/sbin"
[ -d /usr/local/bin ] && _prepend_path "/usr/local/bin" [ -d /usr/local/bin ] && _prepend_path "/usr/local/bin"
command -v brew >/dev/null 2>&1 && _prepend_path "$(brew --prefix coreutils)/libexec/gnubin" command -v brew >/dev/null 2>&1 && _prepend_path "$(brew --prefix coreutils)/libexec/gnubin"
_prepend_path "./vendor/bin"
[ -d "$COMPOSER_HOME/vendor/bin" ] && _prepend_path "$COMPOSER_HOME/vendor/bin" [ -d "$COMPOSER_HOME/vendor/bin" ] && _prepend_path "$COMPOSER_HOME/vendor/bin"
[ -d $HOME/dotfiles/bin ] && _prepend_path "$HOME/dotfiles/bin" [ -d $HOME/dotfiles/bin ] && _prepend_path "$HOME/dotfiles/bin"
[ -d $HOME/.composer/vendor/bin ] && _prepend_path "$HOME/.composer/vendor/bin"
[ -d $HOME/bin ] && _prepend_path "$HOME/bin" [ -d $HOME/bin ] && _prepend_path "$HOME/bin"
export PATH export PATH