From e0e368e6c3749ecbd6a5f2cc4d5868cf13ef74a7 Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Fri, 2 Feb 2018 21:14:11 +0800 Subject: profile: always set sbin-directories for PATH --- _profile | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) (limited to '_profile') 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" -- cgit v1.2.2