diff options
| -rw-r--r-- | Library/Contributions/brew_bash_completion.sh | 2 | ||||
| -rwxr-xr-x | Library/Contributions/cmds/brew-beer.rb (renamed from Library/Contributions/examples/brew-beer.rb) | 0 | ||||
| -rwxr-xr-x | Library/Contributions/cmds/brew-dirty.rb (renamed from Library/Contributions/examples/brew-dirty.rb) | 0 | ||||
| -rwxr-xr-x | Library/Contributions/cmds/brew-graph (renamed from Library/Contributions/examples/brew-graph) | 0 | ||||
| -rwxr-xr-x | Library/Contributions/cmds/brew-grep (renamed from Library/Contributions/examples/brew-grep) | 0 | ||||
| -rwxr-xr-x | Library/Contributions/cmds/brew-leaves.rb (renamed from Library/Contributions/examples/brew-leaves.rb) | 0 | ||||
| -rwxr-xr-x | Library/Contributions/cmds/brew-linkapps.rb (renamed from Library/Contributions/examples/brew-linkapps.rb) | 0 | ||||
| -rwxr-xr-x | Library/Contributions/cmds/brew-man (renamed from Library/Contributions/examples/brew-man) | 0 | ||||
| -rwxr-xr-x | Library/Contributions/cmds/brew-mirror-check.rb (renamed from Library/Contributions/examples/brew-mirror-check.rb) | 0 | ||||
| -rwxr-xr-x | Library/Contributions/cmds/brew-missing.rb (renamed from Library/Contributions/examples/brew-missing.rb) | 0 | ||||
| -rwxr-xr-x | Library/Contributions/cmds/brew-pull.rb (renamed from Library/Contributions/examples/brew-pull.rb) | 0 | ||||
| -rwxr-xr-x | Library/Contributions/cmds/brew-readall.rb (renamed from Library/Contributions/examples/brew-readall.rb) | 0 | ||||
| -rwxr-xr-x | Library/Contributions/cmds/brew-server (renamed from Library/Contributions/examples/brew-server) | 0 | ||||
| -rwxr-xr-x | Library/Contributions/cmds/brew-switch.rb (renamed from Library/Contributions/examples/brew-switch.rb) | 0 | ||||
| -rwxr-xr-x | Library/Contributions/cmds/brew-unpack.rb (renamed from Library/Contributions/examples/brew-unpack.rb) | 0 | ||||
| -rwxr-xr-x | Library/Contributions/cmds/brew-which.rb (renamed from Library/Contributions/examples/brew-which.rb) | 0 | ||||
| -rw-r--r-- | Library/Contributions/manpages/brew.1.md | 4 | ||||
| -rwxr-xr-x | bin/brew | 2 | ||||
| -rw-r--r-- | share/man/man1/brew.1 | 4 | 
19 files changed, 6 insertions, 6 deletions
| diff --git a/Library/Contributions/brew_bash_completion.sh b/Library/Contributions/brew_bash_completion.sh index d11379064..a9a689ae6 100644 --- a/Library/Contributions/brew_bash_completion.sh +++ b/Library/Contributions/brew_bash_completion.sh @@ -374,7 +374,7 @@ _brew ()      done      if [[ $i -eq $COMP_CWORD ]]; then -        local ext=$(\ls $(brew --repository)/Library/Contributions/examples \ +        local ext=$(\ls $(brew --repository)/Library/Contributions/cmds \                  2>/dev/null | sed -e "s/\.rb//g" -e "s/brew-//g")          __brewcomp "              --cache --cellar --config diff --git a/Library/Contributions/examples/brew-beer.rb b/Library/Contributions/cmds/brew-beer.rb index 4ce1f9b9d..4ce1f9b9d 100755 --- a/Library/Contributions/examples/brew-beer.rb +++ b/Library/Contributions/cmds/brew-beer.rb diff --git a/Library/Contributions/examples/brew-dirty.rb b/Library/Contributions/cmds/brew-dirty.rb index e22ad75c6..e22ad75c6 100755 --- a/Library/Contributions/examples/brew-dirty.rb +++ b/Library/Contributions/cmds/brew-dirty.rb diff --git a/Library/Contributions/examples/brew-graph b/Library/Contributions/cmds/brew-graph index 27c80af83..27c80af83 100755 --- a/Library/Contributions/examples/brew-graph +++ b/Library/Contributions/cmds/brew-graph diff --git a/Library/Contributions/examples/brew-grep b/Library/Contributions/cmds/brew-grep index 027f97c4c..027f97c4c 100755 --- a/Library/Contributions/examples/brew-grep +++ b/Library/Contributions/cmds/brew-grep diff --git a/Library/Contributions/examples/brew-leaves.rb b/Library/Contributions/cmds/brew-leaves.rb index d24709229..d24709229 100755 --- a/Library/Contributions/examples/brew-leaves.rb +++ b/Library/Contributions/cmds/brew-leaves.rb diff --git a/Library/Contributions/examples/brew-linkapps.rb b/Library/Contributions/cmds/brew-linkapps.rb index 5a36bb4d1..5a36bb4d1 100755 --- a/Library/Contributions/examples/brew-linkapps.rb +++ b/Library/Contributions/cmds/brew-linkapps.rb diff --git a/Library/Contributions/examples/brew-man b/Library/Contributions/cmds/brew-man index 8afe2029d..8afe2029d 100755 --- a/Library/Contributions/examples/brew-man +++ b/Library/Contributions/cmds/brew-man diff --git a/Library/Contributions/examples/brew-mirror-check.rb b/Library/Contributions/cmds/brew-mirror-check.rb index 1ae06ce6a..1ae06ce6a 100755 --- a/Library/Contributions/examples/brew-mirror-check.rb +++ b/Library/Contributions/cmds/brew-mirror-check.rb diff --git a/Library/Contributions/examples/brew-missing.rb b/Library/Contributions/cmds/brew-missing.rb index 50fae12e4..50fae12e4 100755 --- a/Library/Contributions/examples/brew-missing.rb +++ b/Library/Contributions/cmds/brew-missing.rb diff --git a/Library/Contributions/examples/brew-pull.rb b/Library/Contributions/cmds/brew-pull.rb index 30d04120b..30d04120b 100755 --- a/Library/Contributions/examples/brew-pull.rb +++ b/Library/Contributions/cmds/brew-pull.rb diff --git a/Library/Contributions/examples/brew-readall.rb b/Library/Contributions/cmds/brew-readall.rb index d04de565d..d04de565d 100755 --- a/Library/Contributions/examples/brew-readall.rb +++ b/Library/Contributions/cmds/brew-readall.rb diff --git a/Library/Contributions/examples/brew-server b/Library/Contributions/cmds/brew-server index bcc15c257..bcc15c257 100755 --- a/Library/Contributions/examples/brew-server +++ b/Library/Contributions/cmds/brew-server diff --git a/Library/Contributions/examples/brew-switch.rb b/Library/Contributions/cmds/brew-switch.rb index 3b51f941c..3b51f941c 100755 --- a/Library/Contributions/examples/brew-switch.rb +++ b/Library/Contributions/cmds/brew-switch.rb diff --git a/Library/Contributions/examples/brew-unpack.rb b/Library/Contributions/cmds/brew-unpack.rb index d4d72623e..d4d72623e 100755 --- a/Library/Contributions/examples/brew-unpack.rb +++ b/Library/Contributions/cmds/brew-unpack.rb diff --git a/Library/Contributions/examples/brew-which.rb b/Library/Contributions/cmds/brew-which.rb index b3318ee76..b3318ee76 100755 --- a/Library/Contributions/examples/brew-which.rb +++ b/Library/Contributions/cmds/brew-which.rb diff --git a/Library/Contributions/manpages/brew.1.md b/Library/Contributions/manpages/brew.1.md index 0dd115f32..a59eaecba 100644 --- a/Library/Contributions/manpages/brew.1.md +++ b/Library/Contributions/manpages/brew.1.md @@ -322,10 +322,10 @@ scripts that reside somewhere in the PATH, named `brew-<cmdname>` or  `brew-<cmdname>.rb`, which can be invoked like `brew cmdname`. This allows you  to create your own commands without modifying Homebrew's internals. -A number of (useful, but unsupported) example commands are included and enabled +A number of (useful, but unsupported) external commands are included and enabled  by default: -    $ ls `brew --repository`/Library/Contributions/examples +    $ ls `brew --repository`/Library/Contributions/cmds  Documentation for the included external commands as well as instructions for  creating your own can be found on the wiki: @@ -71,7 +71,7 @@ begin    cmd = aliases[cmd] if aliases[cmd]    # Add example external commands to PATH before checking. -  ENV['PATH'] += ":#{HOMEBREW_REPOSITORY}/Library/Contributions/examples" +  ENV['PATH'] += ":#{HOMEBREW_REPOSITORY}/Library/Contributions/cmds"    if system "/usr/bin/which -s brew-#{cmd}"      %w[CACHE CELLAR LIBRARY_PATH PREFIX REPOSITORY].each do |e|        ENV["HOMEBREW_#{e}"] = Object.const_get "HOMEBREW_#{e}" diff --git a/share/man/man1/brew.1 b/share/man/man1/brew.1 index ea060c289..2a8b25dd6 100644 --- a/share/man/man1/brew.1 +++ b/share/man/man1/brew.1 @@ -353,13 +353,13 @@ Print the version number of brew to standard error and exit\.  Homebrew, like \fBgit\fR(1), supports external commands\. These are executable scripts that reside somewhere in the PATH, named \fBbrew\-<cmdname>\fR or \fBbrew\-<cmdname>\.rb\fR, which can be invoked like \fBbrew cmdname\fR\. This allows you to create your own commands without modifying Homebrew\'s internals\.  .  .P -A number of (useful, but unsupported) example commands are included and enabled by default: +A number of (useful, but unsupported) external commands are included and enabled by default:  .  .IP "" 4  .  .nf -$ ls `brew \-\-repository`/Library/Contributions/examples +$ ls `brew \-\-repository`/Library/Contributions/cmds  .  .fi  . | 
