diff options
author | Aaron LI <aly@aaronly.me> | 2018-02-02 21:14:11 +0800 |
---|---|---|
committer | Aaron LI <aly@aaronly.me> | 2018-02-02 21:14:11 +0800 |
commit | e0e368e6c3749ecbd6a5f2cc4d5868cf13ef74a7 (patch) | |
tree | fc9e9b1bc49ef3d2ddcae52882d74e9f94d38d1a | |
parent | 7d6133c308e5f1b357ace17629ed45c6b5df66e5 (diff) | |
download | dotfiles-e0e368e6c3749ecbd6a5f2cc4d5868cf13ef74a7.tar.bz2 |
profile: always set sbin-directories for PATH
-rw-r--r-- | _profile | 14 |
1 files changed, 4 insertions, 10 deletions
@@ -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" |