From 35a25e68058b32f3e988af94bce3244ddcf58fd4 Mon Sep 17 00:00:00 2001 From: Mitch Tishmack Date: Thu, 1 Jan 2015 19:20:06 -0600 Subject: [PATCH] Rename osx/.profile.d/01-path-osx.sh to 10-path-osx.sh Was incorrect in the first place, oops. --- osx/.profile.d/01-path-osx.sh | 3 --- osx/.profile.d/10-path-osx.sh | 5 +++++ 2 files changed, 5 insertions(+), 3 deletions(-) delete mode 100644 osx/.profile.d/01-path-osx.sh create mode 100644 osx/.profile.d/10-path-osx.sh 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