diff options
| author | Xu Cheng | 2015-08-17 15:29:50 +0800 |
|---|---|---|
| committer | Xu Cheng | 2015-08-17 16:21:09 +0800 |
| commit | b4ddaecf752e29cc10e772cb4435bdcce5ce8f36 (patch) | |
| tree | fdd4a44d7cbfe5ef6c0766f2b4b13ca953b77f24 /Library | |
| parent | 502101a2e27e72916eccdfd7007ecb088c31ed21 (diff) | |
| download | brew-b4ddaecf752e29cc10e772cb4435bdcce5ce8f36.tar.bz2 | |
improve zsh_completion
Closes Homebrew/homebrew#43016.
Signed-off-by: Xu Cheng <xucheng@me.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Contributions/brew_zsh_completion.zsh | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/Library/Contributions/brew_zsh_completion.zsh b/Library/Contributions/brew_zsh_completion.zsh index af5c86dab..f78edaa29 100644 --- a/Library/Contributions/brew_zsh_completion.zsh +++ b/Library/Contributions/brew_zsh_completion.zsh @@ -1,4 +1,5 @@ #compdef brew +#autoload # Brew ZSH completion function # Drop this somewhere in your $fpath (like /usr/share/zsh/site-functions) @@ -37,25 +38,33 @@ _1st_arguments=( 'deps:list dependencies and dependants of a formula' 'doctor:audits your installation for common issues' 'edit:edit a formula' + 'fetch:download formula resources to the cache' + 'gist-logs:generate a gist of the full build logs' 'home:visit the homepage of a formula or the brew project' 'info:information about a formula' 'install:install a formula' 'reinstall:install a formula anew; re-using its current options' + 'leaves:show installed formulae that are not dependencies of another installed formula' 'link:link a formula' 'list:list files in a formula or not-installed formulae' 'log:git commit log for a formula' 'missing:check all installed formuale for missing dependencies.' + 'migrate:migrate renamed formula to new name' 'outdated:list formulae for which a newer version is available' 'pin:pin specified formulae' + 'postinstall:perform post_install for a given formula' 'prune:remove dead links' 'remove:remove a formula' 'search:search for a formula (/regex/ or string)' 'switch:switch between different versions of a formula' 'tap:tap a new formula repository from GitHub, or list existing taps' + 'tap-info:information about a tap' + 'test-bot:test a formula and build a bottle' + 'uninstall:uninstall a formula' 'unlink:unlink a formula' 'unpin:unpin specified formulae' 'untap:remove a tapped repository' - 'update:freshen up links' + 'update:fetch latest version of Homebrew and all formulae' 'upgrade:upgrade outdated formulae' 'uses:show formulae which depend on a formula' `brew commands --quiet --include-aliases` |
