From 23142bb226d944b3de5751db1ff1bf59edfb9619 Mon Sep 17 00:00:00 2001 From: Alex Dunn Date: Fri, 28 Aug 2015 09:10:38 -0700 Subject: [PATCH] tips-n-tricks: don't encourage sudo Closes Homebrew/homebrew#43363. Signed-off-by: Alex Dunn --- share/doc/homebrew/Tips-N'-Tricks.md | 8 -------- 1 file changed, 8 deletions(-) diff --git a/share/doc/homebrew/Tips-N'-Tricks.md b/share/doc/homebrew/Tips-N'-Tricks.md index 6ebe2cdeed..7dc736796c 100644 --- a/share/doc/homebrew/Tips-N'-Tricks.md +++ b/share/doc/homebrew/Tips-N'-Tricks.md @@ -86,14 +86,6 @@ http_proxy=http://: brew install $FORMULA http_proxy=http://:@: 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://: sudo -E brew install $FORMULA -``` - ## Installing stuff without the Xcode-CLT ```sh