aboutsummaryrefslogtreecommitdiffstats
path: root/_profile
diff options
context:
space:
mode:
authorAaron LI <aaronly.me@gmail.com>2016-03-13 10:59:05 +0800
committerAaron LI <aaronly.me@gmail.com>2016-03-13 10:59:05 +0800
commitafe4761023215da107f9f24cffb8d2798bcaa466 (patch)
tree0621501e36c7cea02f97818e64c8da68660b7409 /_profile
parent016d716a2d6857b34aafd790076fc6ce6ab9772c (diff)
downloaddotfiles-afe4761023215da107f9f24cffb8d2798bcaa466.tar.bz2
_profile: change PATH order
Diffstat (limited to '_profile')
-rw-r--r--_profile8
1 files changed, 4 insertions, 4 deletions
diff --git a/_profile b/_profile
index 6ff3dcc..ffdd0d7 100644
--- a/_profile
+++ b/_profile
@@ -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"