diff options
author | Aaron LI <aaronly.me@gmail.com> | 2016-03-13 10:59:05 +0800 |
---|---|---|
committer | Aaron LI <aaronly.me@gmail.com> | 2016-03-13 10:59:05 +0800 |
commit | afe4761023215da107f9f24cffb8d2798bcaa466 (patch) | |
tree | 0621501e36c7cea02f97818e64c8da68660b7409 | |
parent | 016d716a2d6857b34aafd790076fc6ce6ab9772c (diff) | |
download | dotfiles-afe4761023215da107f9f24cffb8d2798bcaa466.tar.bz2 |
_profile: change PATH order
-rw-r--r-- | _profile | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -13,14 +13,14 @@ ### PATH +# local installed (python) packages +if [ -d "$HOME/.local/bin" ]; then + export PATH="$HOME/.local/bin:$PATH" +fi # ~/bin if [ -d "$HOME/bin" ]; then export PATH="$HOME/bin:$PATH" fi -# local installed (python) packages -if [ -d "$HOME/.local/bin" ]; then - export PATH="$PATH:$HOME/.local/bin" -fi # admin if groups | grep -qE '\b(wheel|adm|sudo)\b'; then export PATH="$PATH:/usr/local/sbin:/usr/sbin:/sbin" |