Force enable sbin paths in environments that dont turn them on

This commit is contained in:
2020-12-23 23:52:20 +08:00
parent dc0edc6c82
commit 7e832daf77

View File

@@ -32,6 +32,9 @@ export PAGER="less -r -i"
[ -f "$HOME/.profile-private" ] && source "$HOME/.profile-private"
# end preferences - switched controls below
# force enable sbin paths in environments that dont turn them on
echo "$PATH" | egrep -q ':?/usr/sbin:?' || export PATH="$PATH:/usr/sbin"
echo "$PATH" | egrep -q ':?/sbin:?' || export PATH="$PATH:/sbin"
# gtk options
# enable "command pallete"