.profile: Add more brew directories
This commit is contained in:
parent
b80531fb4c
commit
3979a5c6d1
11
.profile
11
.profile
@ -41,10 +41,15 @@ while [ "${PATH#:}" != "$PATH" ]; do
|
||||
done
|
||||
PATH="$desiredpath:$PATH"
|
||||
# Homebrew
|
||||
gnubin="/usr/local/opt/coreutils/libexec/gnubin"
|
||||
if [ -d "$gnubin" ]; then
|
||||
PATH="$gnubin:$PATH"
|
||||
for dir in \
|
||||
"/usr/local/opt/coreutils/libexec/gnubin" \
|
||||
"/usr/local/opt/util-linux/bin" \
|
||||
"/usr/local/opt/util-linux/sbin"
|
||||
do
|
||||
if [ -d "$dir" ]; then
|
||||
PATH="$dir:$PATH"
|
||||
fi
|
||||
done
|
||||
|
||||
# Grab bash_completion, if it exists
|
||||
[ -f "/etc/profile.d/bash_completion.sh" ] && . "/etc/profile.d/bash_completion.sh"
|
||||
|
Loading…
Reference in New Issue
Block a user