aboutsummaryrefslogtreecommitdiffstats
path: root/_profile
diff options
context:
space:
mode:
authorAaron LI <aly@aaronly.me>2018-02-02 21:14:11 +0800
committerAaron LI <aly@aaronly.me>2018-02-02 21:14:11 +0800
commite0e368e6c3749ecbd6a5f2cc4d5868cf13ef74a7 (patch)
treefc9e9b1bc49ef3d2ddcae52882d74e9f94d38d1a /_profile
parent7d6133c308e5f1b357ace17629ed45c6b5df66e5 (diff)
downloaddotfiles-e0e368e6c3749ecbd6a5f2cc4d5868cf13ef74a7.tar.bz2
profile: always set sbin-directories for PATH
Diffstat (limited to '_profile')
-rw-r--r--_profile14
1 files changed, 4 insertions, 10 deletions
diff --git a/_profile b/_profile
index 7772081..f759298 100644
--- a/_profile
+++ b/_profile
@@ -58,16 +58,10 @@ fi
if [ -d "${HOME}/.local/bin" ]; then
_path_prepend "${HOME}/.local/bin"
fi
-# ~/bin
-if [ -d "${HOME}/bin" ]; then
- _path_prepend "${HOME}/bin"
-fi
-# System administration programs
-if groups | grep -qE '\b(wheel|adm|sudo)\b'; then
- _path_append "/usr/local/sbin"
- _path_append "/usr/sbin"
- _path_append "/sbin"
-fi
+_path_prepend "${HOME}/bin"
+_path_append "/usr/local/sbin"
+_path_append "/usr/sbin"
+_path_append "/sbin"
## Language and locale
export LANG="en_US.UTF-8"