mirror of
https://github.com/Matir/skel.git
synced 2026-05-25 21:19:09 -07:00
Handle /etc/profile overriding PATH
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user