kebler.net
3656f1420e
added acl function and alias - still work working on them. in shell.env allowed module.lib to get loaded for non-interactive shells so that can access modules without all the other stuff of login shell. prepend /opt/bin and .local/bin so they take precedence.
18 lines
474 B
Bash
18 lines
474 B
Bash
#!/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
|
|
|
|
# with prependthese take prescendence over stuff ones in /usr and /bin
|
|
path_prepend /opt/bin
|
|
path_prepend "$HOME/bin"
|
|
path_prepend "$HOME/.local/bin"
|