Prepend new PATHs, rather than append
This commit is contained in:
parent
22f451154f
commit
159842acfc
10
zsh/paths
10
zsh/paths
|
@ -1,19 +1,19 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
if [ -d ~/Dropbox ]; then
|
if [ -d ~/Dropbox ]; then
|
||||||
PATH=$PATH:~/Dropbox/dev/bin
|
PATH=~/Dropbox/dev/bin:$PATH
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "`command -v brew 2>&1`" ]; then
|
if [ "`command -v brew 2>&1`" ]; then
|
||||||
BREWDIR=`brew --prefix`
|
BREWDIR=`brew --prefix`
|
||||||
|
|
||||||
PATH=$PATH:$BREWDIR/bin
|
PATH=$BREWDIR/sbin:$PATH
|
||||||
PATH=$PATH:$BREWDIR/sbin
|
PATH=$BREWDIR/bin:$PATH
|
||||||
|
|
||||||
COREUTIL=`brew --prefix coreutils`
|
COREUTIL=`brew --prefix coreutils`
|
||||||
if [ -d "$COREUTIL" ]; then
|
if [ -d "$COREUTIL" ]; then
|
||||||
PATH=$PATH:`brew --prefix coreutils`
|
PATH=`brew --prefix coreutils`:$PATH
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
PATH=$PATH:$HOME/.rvm/bin
|
PATH=$HOME/.rvm/bin:$PATH
|
||||||
|
|
Loading…
Reference in a new issue