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