aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Dunn2015-08-28 09:10:38 -0700
committerAlex Dunn2015-09-02 20:34:54 -0700
commit23142bb226d944b3de5751db1ff1bf59edfb9619 (patch)
tree5648de6f877887f092b8d8baaf9817c671e3fb06
parentfa1cc67e9f9b0e77d8170285ff228bd383a259c3 (diff)
downloadbrew-23142bb226d944b3de5751db1ff1bf59edfb9619.tar.bz2
tips-n-tricks: don't encourage sudo
Closes Homebrew/homebrew#43363. Signed-off-by: Alex Dunn <dunn.alex@gmail.com>
-rw-r--r--share/doc/homebrew/Tips-N'-Tricks.md8
1 files changed, 0 insertions, 8 deletions
diff --git a/share/doc/homebrew/Tips-N'-Tricks.md b/share/doc/homebrew/Tips-N'-Tricks.md
index 6ebe2cdee..7dc736796 100644
--- a/share/doc/homebrew/Tips-N'-Tricks.md
+++ b/share/doc/homebrew/Tips-N'-Tricks.md
@@ -86,14 +86,6 @@ http_proxy=http://<proxyhost>:<proxyport> brew install $FORMULA
http_proxy=http://<user>:<password>@<proxyhost>:<proxyport> brew install $FORMULA
```
-**NB:** this technique will also work if you prefer to use `sudo` with Homebrew. But as `sudo` clears the environment before executing Homebrew, your proxy settings may get lost.
-
-**Workaround:**
-
-```bash
-$ http_proxy=http://<proxyhost>:<proxyport> sudo -E brew install $FORMULA
-```
-
## Installing stuff without the Xcode-CLT
```sh