diff options
| author | Jack Nagel | 2013-07-09 20:12:53 -0500 | 
|---|---|---|
| committer | Jack Nagel | 2013-07-09 20:12:53 -0500 | 
| commit | 39520822ccb835553513ae1b5324fb5f580c6b2b (patch) | |
| tree | a6cc8efe5a18595d0a820d2e06cdb58c7e05ced1 /Library/Contributions | |
| parent | 52789a79685e2b90ca7015d66e4f7dde54da2fa2 (diff) | |
| download | homebrew-39520822ccb835553513ae1b5324fb5f580c6b2b.tar.bz2 | |
Respect $VISUAL when picking an editor
Diffstat (limited to 'Library/Contributions')
| -rw-r--r-- | Library/Contributions/manpages/brew.1.md | 11 | 
1 files changed, 7 insertions, 4 deletions
diff --git a/Library/Contributions/manpages/brew.1.md b/Library/Contributions/manpages/brew.1.md index 57091fd0b..ffdf4107e 100644 --- a/Library/Contributions/manpages/brew.1.md +++ b/Library/Contributions/manpages/brew.1.md @@ -64,8 +64,8 @@ Note that these flags should only appear after a command.      deleted. If you want to delete those too: `rm -rf $(brew --cache)`    * `create [--autotools|--cmake] [--no-fetch] [--set-name <name>] [--set-version <version>]` <URL>: -    Generate a formula for the downloadable file at <URL> and open it in -    `EDITOR`. Homebrew will attempt to automatically derive the formula name +    Generate a formula for the downloadable file at <URL> and open it in the editor. +    Homebrew will attempt to automatically derive the formula name      and version, but if it fails, you'll have to make your own template. The wget      formula serves as a simple example. @@ -109,7 +109,7 @@ Note that these flags should only appear after a command.      Open all of Homebrew for editing.    * `edit` <formula>: -    Open <formula> in `EDITOR`. +    Open <formula> in the editor.    * `fetch [--force] [-v] [--HEAD] [--deps]` <formulae>:      Download the source packages for the given <formulae>. @@ -408,7 +408,7 @@ can take several different forms:      when opening project homepages.    * EDITOR: -    If set, and `HOMEBREW_EDITOR` is not, use `EDITOR` as the text editor. +    If set, and `HOMEBREW_EDITOR` and `VISUAL` are not, use `EDITOR` as the text editor.    * GIT:      When using Git, Homebrew will use `GIT` if set, @@ -516,6 +516,9 @@ can take several different forms:    * HOMEBREW\_VERBOSE:      If set, Homebrew always assumes `--verbose` when running commands. +  * VISUAL: +    If set, and `HOMEBREW_EDITOR` is not, use `VISUAL` as the text editor. +  ## USING HOMEBREW BEHIND A PROXY  Homebrew uses several commands for downloading files (e.g. curl, git, svn).  | 
