浏览代码

append to PATH not prepend

* prepending properly would need to be wrapped in a if dir in PATH check to protect order in subshells and it's easier to just append
Kyle P Davis 11 年之前
父节点
当前提交
dddf7ca97d
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      .profile

+ 2 - 2
.profile

@@ -1,7 +1,7 @@
-export PATH="$HOME/bin:$PATH"
+export PATH="$PATH:$HOME/bin"
 
 # Homebrew
-export PATH="$HOME/homebrew/bin:$PATH"
+export PATH="$PATH:$HOME/homebrew/bin"
 export PYTHONPATH="$(brew --prefix)/lib/python2.7/site-packages/"  # also facilitates:  easy_install -d "$PYTHONPATH" awesome_pkg
 
 # Custom shell aliases