diff options
| author | Jack Nagel | 2014-12-11 21:52:35 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-12-11 21:53:11 -0500 |
| commit | 007926d7a6aaec1a5ab8614a1f8d4ad70497908c (patch) | |
| tree | 6894d2e2d18925a27a6a096e19271bde14b799e5 | |
| parent | 42b35b8957a5ab092edc1524e9c24227ef88a422 (diff) | |
| download | brew-007926d7a6aaec1a5ab8614a1f8d4ad70497908c.tar.bz2 | |
Correct external command docs
| -rw-r--r-- | share/doc/homebrew/External-Commands.md | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/share/doc/homebrew/External-Commands.md b/share/doc/homebrew/External-Commands.md index cfaec7474..06c3a86d3 100644 --- a/share/doc/homebrew/External-Commands.md +++ b/share/doc/homebrew/External-Commands.md @@ -10,9 +10,7 @@ without modifying Homebrew's internals. ## COMMAND TYPES External commands come in two flavors: Ruby commands and shell scripts. -In both cases, the command file should be `chmod +x` (executable) and live somewhere in `$PATH`. - -Internally, Homebrew finds commands with `which`(1). +In both cases, the command file should be executable (`chmod +x`) and live somewhere in `$PATH`. ### RUBY COMMANDS An external command `extcmd` implemented as a Ruby command should be named `brew-extcmd.rb`. The command is executed by doing a `require` on the full pathname. As the command is `require`d, it has full access to the Homebrew "environment", i.e. all global variables and modules that any internal command has access to. @@ -115,5 +113,3 @@ These commands have been contributed by Homebrew users but are not included in t ## SEE ALSO Homebrew Docs: <https://github.com/Homebrew/homebrew/tree/master/share/doc/homebrew> - -`brew`(1), `which`(1), `grep`(1), [`ronn`(1)](http://rtomayko.github.com/ronn/) |
