18 lines
399 B
Plaintext
18 lines
399 B
Plaintext
|
#!/bin/bash
|
||
|
# if [[ $(groups | grep sudo ) ]]; then
|
||
|
# path_insert /sbin after /usr/bin
|
||
|
# pathg bin
|
||
|
# path_insert /usr/sbin after :/sbin
|
||
|
# pathg bin
|
||
|
# path_insert /usr/local/sbin after /usr/sbin
|
||
|
# pathg sbin
|
||
|
# fi
|
||
|
|
||
|
if [[ $(groups | grep sudo ) ]]; then
|
||
|
export PATH=$PATH:/sbin:/usr/sbin:/usr/local/sbin
|
||
|
fi
|
||
|
|
||
|
path_append /opt/bin
|
||
|
path_append "$HOME/bin"
|
||
|
path_append "$HOME/.local/bin"
|