From fa0872a42c388f81fac1d65e130462de6da3977b Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Sat, 14 Sep 2013 16:58:26 -0700 Subject: brew commands Shows a list of built-in commands (but not shortcuts) and searches for any external commands on the path. Closes Homebrew/homebrew#22509. --- Library/Contributions/brew_bash_completion.sh | 1 + Library/Contributions/brew_zsh_completion.zsh | 1 + Library/Contributions/manpages/brew.1.md | 3 +++ 3 files changed, 5 insertions(+) (limited to 'Library/Contributions') diff --git a/Library/Contributions/brew_bash_completion.sh b/Library/Contributions/brew_bash_completion.sh index 28a57c6c5..c55b78925 100644 --- a/Library/Contributions/brew_bash_completion.sh +++ b/Library/Contributions/brew_bash_completion.sh @@ -403,6 +403,7 @@ _brew () audit cat cleanup + commands create deps diy configure diff --git a/Library/Contributions/brew_zsh_completion.zsh b/Library/Contributions/brew_zsh_completion.zsh index e497cd11e..878a3f9d3 100644 --- a/Library/Contributions/brew_zsh_completion.zsh +++ b/Library/Contributions/brew_zsh_completion.zsh @@ -27,6 +27,7 @@ _1st_arguments=( 'audit:check formulae for Homebrew coding style' 'cat:display formula file for a formula' 'cleanup:uninstall unused and old versions of packages' + 'commands:show a list of commands' 'create:create a new formula' 'deps:list dependencies and dependants of a formula' 'doctor:audits your installation for common issues' diff --git a/Library/Contributions/manpages/brew.1.md b/Library/Contributions/manpages/brew.1.md index 0e3c11584..e2b94821e 100644 --- a/Library/Contributions/manpages/brew.1.md +++ b/Library/Contributions/manpages/brew.1.md @@ -64,6 +64,9 @@ Note that these flags should only appear after a command. versions of formula. Note downloads for any installed formula will still not be deleted. If you want to delete those too: `rm -rf $(brew --cache)` + * `commands`: + Show a list of built-in and external commands. + * `create [--autotools|--cmake] [--no-fetch] [--set-name ] [--set-version ]`: Generate a formula for the downloadable file at and open it in the editor. Homebrew will attempt to automatically derive the formula name -- cgit v1.2.3