Commit Graph
28 Commits
Author SHA1 Message Date
Justin Hileman 3c25722e51 Handle default install --options
i.e. `--force --debug --use-llvm --ignore-dependencies --HEAD`

Additionally:

 * Use a cleaner `if` block in install options completion case.
 * De-dupe options for subsequent completion (e.g. stop offering --foo once
   --foo option has been used).

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-02-09 17:44:01 -08:00
Adam Vandenberg b0ae301c5a brew --compact 2011-02-04 16:52:46 -08:00
Justin Hileman 73e955fcc5 bash completion: --options for brew install foo
To trigger the option autocompletion, type:

    brew install foo --[tab][tab]

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-02-04 16:46:04 -08:00
Adam Vandenberg fdc33e92f8 add test to completion 2010-10-07 20:27:12 -07:00
Adam Vandenberg ec5bc63e44 Some people alias 'ls' so escape it in bash completion 2010-10-01 07:07:46 -07:00
Adam Vandenberg ce115b4083 Update Bash completion script
* Add external command completion
* Add alias completion
2010-08-07 18:08:54 -07:00
Adam Vandenberg be6b46bdd2 Add some dash-commands to bash completion script 2010-06-09 22:01:13 -07:00
Adam Vandenberg bb4ae4b0c3 Remove 'generate' from bash completion. 2010-06-07 14:15:45 -07:00
Adam Vandenberg 59f1571647 Tweak the bash completion script.
* Add --config
* Alphabetize various lists
* Remove some local temp variables
2010-05-30 13:00:51 -07:00
Adam Vandenberg 01e13d48d7 Add doctor to bash completion. 2010-04-06 08:22:28 -07:00
Adam Vandenberg a6e7a0e96d Add log to bash completions. 2010-03-19 11:56:11 -07:00
Adam Vandenberg 20218cc1cb Update bash completions
* Bring command list up-to-date
* Subcommand completion now ignores switches
2010-02-27 19:33:10 -08:00
Adam Vandenberg 2fa6d32bcd deps was missing from bash completion 2010-01-30 23:50:09 -08:00
Max Howell f30d1d7e4d Document brew cleanup 2010-01-18 08:36:10 +00:00
Adam Vandenberg 75b8a06e1c Some bulletproofing for bash completion script.
Since Homebrew's Library doesn't have to be linked under prefix,
we need to do some extra work in the bash completion script to
support this configuration.

Added a "--repository" option to brew, and updated the completion
script to use paths relative to this location.
2010-01-16 15:33:32 +00:00
Adam Vandenberg 980204b3a3 Update bash and zsh for 'uses'. 2009-11-19 14:03:07 -08:00
Adam Vandenberg 9a87d6f6cf Update bash completions. 2009-09-25 18:58:06 +01:00
Max Howell f414bc8cce brew make' becomes brew create'
This is because I have observed two people confuse make with the "make" tool
and thus assume `brew make' is `brew install'.

`brew make' will be deprecated at 0.7, until then it shows a warning.
2009-09-07 01:34:40 +01:00
Max Howell 27263784d1 No spurious error due to Interrupt during curl
Only delete the file that is downloaded if an error occurs while downloading it.
2009-09-05 20:47:15 +01:00
Max Howell 50453eec09 Allow configure alias for diy 2009-08-24 01:04:53 +01:00
Max Howell bfbcdb2334 brew diy command
Automagically determines prefix to install to for DIY installations.

README amended.
2009-08-12 13:43:51 +01:00
Max Howell 6b6d3699a2 Refactor
Large refactor to Formula, mostly improving reliability and error handling but
also layout and readability.

General improvements so testing can be more complete.

Patches are automatically downloaded and applied for Formula that return a
list of urls from Formula::patches.

Split out the brew command logic to facilitate testing.

Facility from Adam Vandenberg to allow selective cleaning of files, added
because Python doesn't work when stripped.
2009-08-10 18:11:17 +01:00
Adam Vandenberg bb7b9d988d Homepage takes any formula, installed or not.
Signed-off-by: Max Howell <max@methylblue.com>
2009-08-04 07:48:26 +08:00
Adam Vandenberg 8ea4f24049 Add home(page) to completion.
Signed-off-by: Max Howell <max@methylblue.com>
2009-08-03 08:13:30 +08:00
Adam Vandenberg df793f7cd4 brew home foo open's foo's homepage in default web-browser 2009-08-02 01:30:29 +01:00
Adam Vandenberg fbb6601171 Add all commands to the bash completion script. 2009-08-02 01:25:02 +01:00
Adam Vandenberg 66b00736df Info also takes installed brews 2009-08-02 01:25:02 +01:00
Adam Vandenberg 64c3ea038f Bash completion script for the brew command 2009-08-02 01:25:01 +01:00