diff --git a/osx/.profile.d/01-path-osx.sh b/osx/.profile.d/01-path-osx.sh deleted file mode 100644 index 25c2345..0000000 --- a/osx/.profile.d/01-path-osx.sh +++ /dev/null @@ -1,3 +0,0 @@ -# osx/.profile.d/10-path-osx.sh -PATH="/usr/local/bin:${PATH}" -export PATH diff --git a/osx/.profile.d/10-path-osx.sh b/osx/.profile.d/10-path-osx.sh new file mode 100644 index 0000000..c9eb90f --- /dev/null +++ b/osx/.profile.d/10-path-osx.sh @@ -0,0 +1,5 @@ +# osx/.profile.d/10-path-osx.sh +osx_release=$(sw_vers -productVersion | sed -e 's/\.[0-9]\{1\}//2') +brew_home=/usr/local/brew/${osx_release} +PATH="${brew_home}/bin:/usr/local/bin:${PATH}" +export PATH