.profile: Add gnubin directory

This commit is contained in:
Salt 2020-03-28 08:54:20 -05:00
parent 69a34464e1
commit c7b265480c

View File

@ -40,6 +40,11 @@ while [ "${PATH#:}" != "$PATH" ]; do
PATH="${PATH#:}" PATH="${PATH#:}"
done done
PATH="$desiredpath:$PATH" PATH="$desiredpath:$PATH"
# Homebrew
gnubin="/usr/local/opt/coreutils/libexec/gnubin"
if [ -d "$gnubin" ]; then
PATH="$gnubin:$PATH"
fi
# Grab bash_completion, if it exists # Grab bash_completion, if it exists
[ -f "/etc/profile.d/bash_completion.sh" ] && . "/etc/profile.d/bash_completion.sh" [ -f "/etc/profile.d/bash_completion.sh" ] && . "/etc/profile.d/bash_completion.sh"