Remove path.sh, move contents to shellrc.sh

This commit is contained in:
2014-05-07 18:35:02 -07:00
parent 2b4fedfce0
commit 9bcd6bc22c
2 changed files with 14 additions and 21 deletions

View File

@@ -1,11 +0,0 @@
function add_to_front_of_path {
export PATH=$@:`echo $PATH | sed "s|:*$@||g" | sed "s|^:||"`
}
function add_to_back_of_path {
export PATH=`echo $PATH | sed "s|:*$@||g" | sed "s|^:||"`:$@
}
add_to_back_of_path "$HOME/.local/lib/python2.6/site-packages"
add_to_front_of_path "$(brew --prefix coreutils)/libexec/gnubin"
add_to_front_of_path "/usr/local/bin"