Handle /etc/profile overriding PATH

This commit is contained in:
David Tomaschik
2026-03-16 13:55:14 -04:00
parent 2e0ebb4d6f
commit 5b1bb1c233
2 changed files with 550 additions and 0 deletions

View File

@@ -181,6 +181,10 @@ have_command() {
command -v "${1}" &>/dev/null
}
if test -d ${HOME}/.local/bin ; then
export PATH="${HOME}/.local/bin:${PATH}"
fi
# Source extras and aliases if interactive
if [[ $- == *i* ]] ; then
source_if_existing $HOME/.aliases