Fix osx_path_setup syntax

This commit is contained in:
Ivan Malison 2016-09-06 11:42:40 -07:00
parent cfd88d8c0c
commit b153b5d339
No known key found for this signature in database
GPG Key ID: 62530EFBE99DC2F8

View File

@ -18,10 +18,11 @@ function _setup_env {
function _osx_path_setup { function _osx_path_setup {
if command_exists "brew"; if command_exists "brew";
then
add_to_path --before "$(brew --prefix coreutils)/libexec/gnubin" add_to_path --before "$(brew --prefix coreutils)/libexec/gnubin"
# Access gnu man pages. # Access gnu man pages.
add_to_path "$(brew --prefix)/opt/coreutils/libexec/gnuman" --path-var "MANPATH" add_to_path "$(brew --prefix)/opt/coreutils/libexec/gnuman" --path-var "MANPATH"
then fi
# Adds airport utility # Adds airport utility
add_to_path "/System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources" --after add_to_path "/System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources" --after