diff options
Diffstat (limited to 'Library/Contributions/brew_bash_completion.sh')
| -rw-r--r-- | Library/Contributions/brew_bash_completion.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Library/Contributions/brew_bash_completion.sh b/Library/Contributions/brew_bash_completion.sh index 7d3fc595f..6f97935f0 100644 --- a/Library/Contributions/brew_bash_completion.sh +++ b/Library/Contributions/brew_bash_completion.sh @@ -370,6 +370,17 @@ _brew_uninstall () __brew_complete_installed } +_brew_unpack () +{ + local cur="${COMP_WORDS[COMP_CWORD]}" + case "$cur" in + --*) + __brewcomp "--git --patch --destdir=" + return + ;; + esac + __brew_complete_formulae +} _brew_update () { local cur="${COMP_WORDS[COMP_CWORD]}" @@ -520,6 +531,7 @@ _brew () switch) _brew_switch ;; tap) _brew_complete_tap ;; uninstall|remove|rm) _brew_uninstall ;; + unpack) _brew_unpack ;; unpin) __brew_complete_formulae ;; untap) __brew_complete_tapped ;; update) _brew_update ;; |
