diff options
| author | Adam Vandenberg | 2013-06-12 15:57:58 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2013-06-12 15:58:12 -0700 |
| commit | 7f9e4e11a3e17cf4fca1bd5b7487d1b25424f303 (patch) | |
| tree | 66422f3a7ebe1c12b29b88b58af64e4fefeb1db8 | |
| parent | 0f314f9808fa86ede1abb1183e21d29ddff87fd0 (diff) | |
| download | brew-7f9e4e11a3e17cf4fca1bd5b7487d1b25424f303.tar.bz2 | |
Update fetch bash completion
Also complete --devel and the formula's install options.
| -rw-r--r-- | Library/Contributions/brew_bash_completion.sh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Library/Contributions/brew_bash_completion.sh b/Library/Contributions/brew_bash_completion.sh index 19e7eb518..f3c685d66 100644 --- a/Library/Contributions/brew_bash_completion.sh +++ b/Library/Contributions/brew_bash_completion.sh @@ -168,9 +168,14 @@ _brew_diy () _brew_fetch () { local cur="${COMP_WORDS[COMP_CWORD]}" + local prv=$(__brewcomp_prev) case "$cur" in --*) - __brewcomp "--deps --force --HEAD" + __brewcomp " + --deps --force + --devel --HEAD + $(brew options --compact "$prv" 2>/dev/null) + " return ;; esac |
