aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Contributions/brew_bash_completion.sh
AgeCommit message (Collapse)Author
2014-10-20remove ext from autocompleteAdam Vandenberg
2014-10-20remove versions from autocompleteAdam Vandenberg
2014-05-28versions: remove --compact optionJack Nagel
2014-05-25bash completion for `brew list --multiple`Ches Martin
As per 9ab605c7f1883 removal of `brew dirty`. `--multiple` *implies* `--versions`, thus IMO it shouldn't be necessary to also explicitly include the `--versions` option, but that's a separate matter. For now this offers the small added convenience of: $ brew list --m<TAB><TAB> to quickly expand the `brew dirty` equivalent. Closes #29571. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2014-05-17Move brew-unpack to coreJack Nagel
2014-05-16add --installed to json infoAdam Vandenberg
Closes #29315.
2014-05-11Add an option "--root_url=" to bottle command.Masaki Muranaka
Closes #29081. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2014-05-01Restore bash completion for --configJack Nagel
2014-04-30--config -> configAdam Vandenberg
2014-04-24Remove slow tab completion for `brew tap`Jack Nagel
This requires hitting the network, which makes the first invocation slow. The results are inaccurate as it only pulls down the first page of results. It is also prone to false-positives. A better implementation is welcome, but in the years since I wrote this code I can't think of a single time where I found it useful.
2014-04-24Fix tap completion when there aren't any tapsJack Nagel
2014-04-24Update bash completion for new tap formatJack Nagel
2014-04-14Do path and string manipulation in pure bashJack Nagel
2014-04-14Aliases don't have .rb extensions, so no need to remove themJack Nagel
2014-04-06add linkapps completionAdam Vandenberg
2014-03-29Add bash completion for `brew bottle`Jack Nagel
2014-03-15Update option completionJack Nagel
2014-03-04Add `brew info --json=v1` to the bash completion scriptJaime Marquínez Ferrándiz
Closes #27166. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2014-03-04add options to fetch completionAdam Vandenberg
2013-12-19install: add --only-dependencies optionSteven Peters
The traditional approach to installing the dependencies of a formula is the following: brew install `brew deps formula` This approach ignores any options that are specified in the parent formula. This pull request adds a --only-dependencies option to brew install that installs the dependencies of a formula with optional flags, but returns before installing the parent formula. Closes #25272. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-12-12Add bash completion support for "brew switch"Osman Currim
First autocompletes on the names of installed packages and then autocompletes on available versions for that specific package Closes #25051. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-11-03Remove --use-gcc and friends from completion scriptsJack Nagel
2013-10-29add unlink apps to manpage and completionAdam Vandenberg
2013-09-17brew commandsAdam Vandenberg
Shows a list of built-in commands (but not shortcuts) and searches for any external commands on the path. Closes #22509.
2013-08-21adding reinstall to bash completionGreg Sieranski
Closes #22051. Signed-off-by: Samuel John <github@SamuelJohn.de>
2013-08-17update brew search completionAdam Vandenberg
2013-08-06update search bash completionAdam Vandenberg
2013-06-12Update fetch bash completionAdam Vandenberg
Also complete --devel and the formula's install options.
2013-05-27Add `brew search --debian <f>`Adam Vandenberg
2013-05-25Fix completion of install options without formulaJack Nagel
Fixes #20084.
2013-05-15brew_bash_completion: complete --force for brew linkJaime Marquínez Ferrándiz
Closes #19828. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-04-30completion: avoid unnecessary `brew` invocationsJack Nagel
2013-04-11Add tap --repair to bash completion scriptRobson Peixoto
Closes #19113. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-03-30Fix typo for pin command in bash_completionJaime Marquínez Ferrándiz
Closes #18849. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-03-30brew-pin: prevent selected formulae from upgrade.Simon Sigurdhsson
* Added `pin` et. al. to manpage. * Added `brew pin` to `brew.1` * Added `brew unpin` to `brew.1` * Added `brew list --pinned` to `brew.1` * Added information about frozen formulae to `brew upgrade` in `brew.1` * Added `pin` et.al. to completion scripts. * Unpin formulae when uninstalling them * Unpin and re-pin formulae when upgrading (avoids stale symlink) References #18386. Closes #18515. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-02-18Rename Library/Contributions/cmds -> cmd.Mike McQuaid
2013-01-29Add 'instal' to completionsAdam Vandenberg
2012-11-13Document some recently added optionsJack Nagel
2012-11-13bash completion for doctor checksJack Nagel
2012-07-18brew-test-bot: move html and css into subdirectoryMisty De Meo
Also updates the bash-completion to ignore subdirectories, rather than specific filename patterns.
2012-07-17bash-completion: hide brew-bot support filesMisty De Meo
Hides files with the extensions ".css" and ".erb" to ensure that the brew-bot's support files don't show up in tab-completion.
2012-07-12Restore completion for "link" and "ln"Jack Nagel
Commit 3b5d7939d9a660a83e29a86e6bab234f3e9f2dcb added completion for `brew link` options, but disabled completion of the actual command itself. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-07-11Add completions for brew linkAdam Vandenberg
2012-06-13Completion for "brew missing"Jack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-06-12Use "legacy" search API when completing tap namesJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-06-01Replace /usr/bin/ruby with full Framework pathMisty De Meo
Rationale: some users insist on replacing the /usr/bin/ruby symlink to point to another ruby on their system, which may break homebrew. Use the full Framework path instead, which is less likely to be tampered with. This also reorganizes the brew --config checks to reflect the different path. Fixes #12009. Closes #12333. Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
2012-03-29Remove "__brew_ps1" function from completionJack Nagel
This was probably silly and I'm probably the only person that ever used it. I still do, actually, but it's not really a completion function, it's simple enough to just stick in a shell startup script, and removing it makes the completion script usable under the new dynamic loading scheme provided by bash-completion 1.99+. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-03-23Tab completion for `brew tap`Jack Nagel
Using an inline Ruby script we can hit the GitHub API and look for repositories that match the tap naming scheme. The results are cached for the duration of the current shell session, so going over the network is a once-per-shell-session cost. There are a few false positives, but not much we can do about that at this point, as taps do not have to be in the fork network of any specific repository. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-03-18Rename external commands directory from examples.Mike McQuaid
Fixes #10829.
2012-03-16Tab completion for tapped formulaeJack Nagel
So you can do e.g. $ brew install adamv<TAB> Display all 106 possibilities? (y or n) $ brew install adamv/alt/openss<TAB> adamv/alt/openssh adamv/alt/openssl098 adamv/alt/openssl100 Signed-off-by: Jack Nagel <jacknagel@gmail.com>