Added a check for coreutils and PATH modification if found.
This commit is contained in:
parent
a59c4608fd
commit
db869fed03
6
.bashrc
6
.bashrc
|
@ -15,6 +15,12 @@ export LESS="-qr"
|
|||
# Update the path with local overrides
|
||||
#--------------------------------------------------------------------------------
|
||||
export PATH=~/bin:/usr/local/bin:/usr/local/sbin:${PATH}
|
||||
|
||||
# coreutils
|
||||
COREUTILS=$(brew --prefix coreutils 2>/dev/null)
|
||||
if [ -s "${COREUTILS}" ]; then
|
||||
export PATH=${COREUTILS}/libexec/gnubin:${PATH}
|
||||
fi
|
||||
#--------------------------------------------------------------------------------
|
||||
|
||||
#--------------------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in a new issue