77 Commits

Author SHA1 Message Date
Adam Vandenberg
6864140237 brew --compact 2011-02-04 16:52:46 -08:00
Justin Hileman
97b8f9a31f 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
d501b256e5 add test to completion 2010-10-07 20:27:12 -07:00
Adam Vandenberg
8b8bf79315 Some people alias 'ls' so escape it in bash completion 2010-10-01 07:07:46 -07:00
Adam Vandenberg
9eea5bd447 Update Bash completion script
* Add external command completion
* Add alias completion
2010-08-07 18:08:54 -07:00
Adam Vandenberg
22ec3c76a8 Add some dash-commands to bash completion script 2010-06-09 22:01:13 -07:00
Adam Vandenberg
d9dd462309 Remove 'generate' from bash completion. 2010-06-07 14:15:45 -07:00
Adam Vandenberg
b0bc592e17 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
b23ae3688c Add doctor to bash completion. 2010-04-06 08:22:28 -07:00
Adam Vandenberg
97b66ea1de Add log to bash completions. 2010-03-19 11:56:11 -07:00
Adam Vandenberg
1ade7ef4e0 Update bash completions
* Bring command list up-to-date
* Subcommand completion now ignores switches
2010-02-27 19:33:10 -08:00
Adam Vandenberg
43dc7c9645 deps was missing from bash completion 2010-01-30 23:50:09 -08:00
Max Howell
3bf6c5f9c9 Document brew cleanup 2010-01-18 08:36:10 +00:00
Adam Vandenberg
9dc39c391a 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
56f82a33b1 Update bash and zsh for 'uses'. 2009-11-19 14:03:07 -08:00
Adam Vandenberg
1e3dff7b8e Update bash completions. 2009-09-25 18:58:06 +01:00
Max Howell
fc52e1a69d 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
de620e4396 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
e7594de797 Allow configure alias for diy 2009-08-24 01:04:53 +01:00
Max Howell
140bfc5592 brew diy command
Automagically determines prefix to install to for DIY installations.

README amended.
2009-08-12 13:43:51 +01:00
Max Howell
760c083c0c 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
bfa17cc16c 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
a734b30a68 Add home(page) to completion.
Signed-off-by: Max Howell <max@methylblue.com>
2009-08-03 08:13:30 +08:00
Adam Vandenberg
14da66fb77 brew home foo open's foo's homepage in default web-browser 2009-08-02 01:30:29 +01:00
Adam Vandenberg
fe71812af6 Add all commands to the bash completion script. 2009-08-02 01:25:02 +01:00
Adam Vandenberg
fdc091ed42 Info also takes installed brews 2009-08-02 01:25:02 +01:00
Adam Vandenberg
58ba5f9df6 Bash completion script for the brew command 2009-08-02 01:25:01 +01:00