From b153b5d339824877bf911992e4027396946108b3 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Tue, 6 Sep 2016 11:42:40 -0700 Subject: [PATCH] Fix osx_path_setup syntax --- dotfiles/lib/shellpath.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dotfiles/lib/shellpath.sh b/dotfiles/lib/shellpath.sh index 965ed7ef..f6c51207 100644 --- a/dotfiles/lib/shellpath.sh +++ b/dotfiles/lib/shellpath.sh @@ -18,10 +18,11 @@ function _setup_env { function _osx_path_setup { if command_exists "brew"; + then add_to_path --before "$(brew --prefix coreutils)/libexec/gnubin" # Access gnu man pages. add_to_path "$(brew --prefix)/opt/coreutils/libexec/gnuman" --path-var "MANPATH" - then + fi # Adds airport utility add_to_path "/System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources" --after