From 887e575303ee4402b4d0759922cfb7b76863e2a7 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Sun, 16 Nov 2014 21:57:08 -0600 Subject: Remove more references to removed external commands --- Library/Contributions/brew_fish_completion.fish | 4 ---- Library/Contributions/brew_zsh_completion.zsh | 1 - Library/Homebrew/cmd/doctor.rb | 2 +- Library/Homebrew/manpages/brew.1.md | 8 +------- 4 files changed, 2 insertions(+), 13 deletions(-) (limited to 'Library') diff --git a/Library/Contributions/brew_fish_completion.fish b/Library/Contributions/brew_fish_completion.fish index a0f20270e..893ebdba0 100644 --- a/Library/Contributions/brew_fish_completion.fish +++ b/Library/Contributions/brew_fish_completion.fish @@ -10,10 +10,6 @@ for command in (ls (brew --repository)/Library/Homebrew/cmd | sed -e "s/\.rb//g" set commands $command $commands end -for command in (ls -p (brew --repository)/Library/Contributions/cmd | sed -e "s/\.rb//g" -e "s/brew-//g" -e "s/.*\///g") - set commands $command $commands -end - for command in abv ln ls remove rm set commands $command $commands end diff --git a/Library/Contributions/brew_zsh_completion.zsh b/Library/Contributions/brew_zsh_completion.zsh index 60dee5c74..0a30cd23f 100644 --- a/Library/Contributions/brew_zsh_completion.zsh +++ b/Library/Contributions/brew_zsh_completion.zsh @@ -47,7 +47,6 @@ _1st_arguments=( 'prune:remove dead links' 'remove:remove a formula' 'search:search for a formula (/regex/ or string)' - 'server:start a local web app that lets you browse formulae (requires Sinatra)' 'switch:switch between different versions of a formula' 'tap:tap a new formula repository from GitHub, or list existing taps' 'unlink:unlink a formula' diff --git a/Library/Homebrew/cmd/doctor.rb b/Library/Homebrew/cmd/doctor.rb index c5edb9ea8..93c0e398e 100644 --- a/Library/Homebrew/cmd/doctor.rb +++ b/Library/Homebrew/cmd/doctor.rb @@ -63,7 +63,7 @@ class Checks end # Git will always be on PATH because of the wrapper script in - # Library/Contributions/cmd, so we check if there is a *real* + # Library/ENV/scm, so we check if there is a *real* # git here to avoid multiple warnings. def git? return @git if instance_variable_defined?(:@git) diff --git a/Library/Homebrew/manpages/brew.1.md b/Library/Homebrew/manpages/brew.1.md index bfab9860f..8fb1603c5 100644 --- a/Library/Homebrew/manpages/brew.1.md +++ b/Library/Homebrew/manpages/brew.1.md @@ -435,13 +435,7 @@ scripts that reside somewhere in the PATH, named `brew-` or `brew-.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) external commands are included and enabled -by default: - - $ ls $(brew --repository)/Library/Contributions/cmd - -Documentation for the included external commands as well as instructions for -creating your own can be found in the docs: +Instructions for creating your own commands can be found in the docs: ## SPECIFYING FORMULAE -- cgit v1.2.3