From 00eb4324de2035e417344b7b7a2cac6e5a8f29a5 Mon Sep 17 00:00:00 2001 From: Frederick Akalin Date: Sat, 19 Aug 2017 17:08:07 -0700 Subject: [PATCH 1/4] Update FAQ entry --- docs/FAQ.md | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/docs/FAQ.md b/docs/FAQ.md index 788c496262..053c1f971a 100644 --- a/docs/FAQ.md +++ b/docs/FAQ.md @@ -68,13 +68,15 @@ Be careful as this is a destructive operation. Which is usually: `~/Library/Caches/Homebrew` ## My Mac `.app`s don’t find `/usr/local/bin` utilities! -GUI apps on macOS don’t have `/usr/local/bin` in their `PATH` by default. -If you’re on Mountain Lion, you can fix this by running -`launchctl setenv PATH "/usr/local/bin:$PATH"`. [More details -here](https://stackoverflow.com/questions/135688/setting-environment-variables-in-os-x/5444960#5444960), -including how to set this across reboots. If you’re pre-Mountain Lion, -[here’s an official -alternative](https://developer.apple.com/legacy/library/qa/qa1067/_index.html). +GUI apps on macOS don’t have `/usr/local/bin` in their `PATH` by +default. If you're on Mountain Lion or later, you can fix this by +running `sudo launchctl config user path "/usr/local/bin:$PATH"` and +then rebooting. Note that this sets the launchctl PATH for _all users_ +([more details here](https://apple.stackexchange.com/a/198282)). For +earlier versions, +see [this page](https://stackoverflow.com/a/5444960/7869253), +or +[this page](https://developer.apple.com/legacy/library/qa/qa1067/_index.html). ## How do I contribute to Homebrew? Read [CONTRIBUTING.md](https://github.com/Homebrew/brew/blob/master/CONTRIBUTING.md). From 6f76627943e042049f159acdd9af2fab6942abcf Mon Sep 17 00:00:00 2001 From: Frederick Akalin Date: Tue, 22 Aug 2017 18:18:19 -0700 Subject: [PATCH 2/4] Just have the Apple documentation link --- docs/FAQ.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/docs/FAQ.md b/docs/FAQ.md index 053c1f971a..c874c27cf0 100644 --- a/docs/FAQ.md +++ b/docs/FAQ.md @@ -73,9 +73,7 @@ default. If you're on Mountain Lion or later, you can fix this by running `sudo launchctl config user path "/usr/local/bin:$PATH"` and then rebooting. Note that this sets the launchctl PATH for _all users_ ([more details here](https://apple.stackexchange.com/a/198282)). For -earlier versions, -see [this page](https://stackoverflow.com/a/5444960/7869253), -or +earlier versions of macOS, see [this page](https://developer.apple.com/legacy/library/qa/qa1067/_index.html). ## How do I contribute to Homebrew? From 94c56a88d9101c60478c7cf60fb01bbcfd44a66b Mon Sep 17 00:00:00 2001 From: Frederick Akalin Date: Wed, 23 Aug 2017 15:53:51 -0700 Subject: [PATCH 3/4] Fix apostrophe --- docs/FAQ.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/FAQ.md b/docs/FAQ.md index c874c27cf0..632b4bdf3b 100644 --- a/docs/FAQ.md +++ b/docs/FAQ.md @@ -69,7 +69,7 @@ Which is usually: `~/Library/Caches/Homebrew` ## My Mac `.app`s don’t find `/usr/local/bin` utilities! GUI apps on macOS don’t have `/usr/local/bin` in their `PATH` by -default. If you're on Mountain Lion or later, you can fix this by +default. If you’re on Mountain Lion or later, you can fix this by running `sudo launchctl config user path "/usr/local/bin:$PATH"` and then rebooting. Note that this sets the launchctl PATH for _all users_ ([more details here](https://apple.stackexchange.com/a/198282)). For From 661995238a42ad5fa363797e323d837cbcfa579d Mon Sep 17 00:00:00 2001 From: Frederick Akalin Date: Wed, 23 Aug 2017 15:56:00 -0700 Subject: [PATCH 4/4] Change to man page reference --- docs/FAQ.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/docs/FAQ.md b/docs/FAQ.md index 632b4bdf3b..9d76bf4ab6 100644 --- a/docs/FAQ.md +++ b/docs/FAQ.md @@ -71,9 +71,8 @@ Which is usually: `~/Library/Caches/Homebrew` GUI apps on macOS don’t have `/usr/local/bin` in their `PATH` by default. If you’re on Mountain Lion or later, you can fix this by running `sudo launchctl config user path "/usr/local/bin:$PATH"` and -then rebooting. Note that this sets the launchctl PATH for _all users_ -([more details here](https://apple.stackexchange.com/a/198282)). For -earlier versions of macOS, see +then rebooting, as documented in `man launchctl`. Note that this sets +the launchctl PATH for _all users_. For earlier versions of macOS, see [this page](https://developer.apple.com/legacy/library/qa/qa1067/_index.html). ## How do I contribute to Homebrew?