292 Commits

Author SHA1 Message Date
Mike McQuaid
fb1cf8f389
dev-cmd/tap-new: various tweaks.
- `--no-git` and `--branch` don't conflict as `--branch` is still used
  for the GitHub Actions branch even with `--no-git`
- fix some README markdown linting errors
- fix some YAML/GitHub Actions configuration linting errors
2021-03-01 13:40:08 +00:00
BrewTestBot
19d50de8ca Update maintainers, manpage and completions.
Autogenerated by the [update-manpage](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/update-manpage.yml) workflow.
2021-02-26 18:08:09 +00:00
Shaun Jackman
be11a22d97
Update man pages 2021-02-23 11:31:53 -08:00
Shaun Jackman
7fd6d2166b
Update man pages 2021-02-22 17:58:13 -08:00
Shaun Jackman
2794641a28
Update man pages 2021-02-22 17:24:05 -08:00
nandahkrishna
24bb6040a7
dev-cmd/bump: add cask support 2021-02-17 00:42:07 +05:30
Jonathan Chang
5792a0d1ef Update completions and manpages. 2021-02-15 13:43:40 +11:00
nandahkrishna
7bb059b523
Update manpage and completions 2021-02-08 23:33:25 +05:30
Dawid Dziurla
a90fb27adb
untap: add missing --force switch 2021-02-04 18:36:32 +01:00
Mike McQuaid
cdf8ff9052
Merge pull request #10266 from gromgit/prefix_non_installed
cmd/--prefix: add --installed flag
2021-02-01 09:05:28 +00:00
Adrian Ho
28a8409b6e cmd/--prefix: add --installed flag
This changes the output for uninstalled formulae from Cellar prefix to empty string, so:
```sh
$ brew --prefix abcde python@3.9 tcl-tk
/usr/local/Cellar/abcde/2.9.3_1
/usr/local/opt/python@3.9
/usr/local/Cellar/tcl-tk/8.6.10
$ brew --prefix --installed abcde python@3.9 tcl-tk

/usr/local/opt/python@3.9

$
```
2021-01-31 16:09:43 +08:00
Mike McQuaid
d6957a3acb
Homebrew 3.0.0 deprecations/disables 2021-01-29 19:50:24 +00:00
Rylan Polster
f508f8dc0c
update: show message prompting brew tap --repair
This message is shown when a fetch fails due to a branch rename
2021-01-28 09:10:13 -05:00
Mike McQuaid
b14bd7a521
Merge pull request #10434 from jonchang/guard-zsh-completions
zsh: add guards to speed up completions
2021-01-28 09:24:31 +00:00
Jonathan Chang
fdda2b3414 zsh: prevent autocompleting conflicting options 2021-01-27 14:54:39 +11:00
Jonathan Chang
f5cc26ffc6 zsh: add guards to speed up completions
If we type `brew install -<TAB>` we shouldn't try to shell out to Ruby
to get a list of formulae for completions.
2021-01-27 14:09:38 +11:00
EricFromCanada
6fc116318e fixes for grammar and wording 2021-01-26 16:19:47 -05:00
Rylan Polster
67e03a0675
Improve command descriptions
Co-Authored-By: Jonathan Chang <me@jonathanchang.org>
Co-Authored-By: Eric Knibbe <3324775+EricFromCanada@users.noreply.github.com>
2021-01-25 13:46:51 -05:00
Rylan Polster
3e8b91679d
completions: generate zsh completions 2021-01-25 13:46:51 -05:00
Muneeb Ahmed
6a08e273d0 Fix zsh completions for upgrade and reinstall 2021-01-24 20:30:33 -08:00
Seeker
27d32aa2d3 completions/zsh: fix broken zsh tab completion for brew upgrade 2021-01-24 18:04:14 -08:00
hyuraku
7e2db0cd3d completions/zsh: add-cask-option 2021-01-21 18:38:34 +09:00
Mike McQuaid
30d5fc6285
Merge pull request #10259 from kidonng/cask-completion
Add brew casks command
2021-01-08 13:04:53 +00:00
Mike McQuaid
dad7dc6a14
Merge pull request #10196 from souleater7/delete-devel
Delete references to devel
2021-01-06 09:15:52 +00:00
hyuraku
11bc456d46 completions/zsh: add --pull-reques to search 2021-01-05 22:13:24 +09:00
hyuraku
90ff41f451 zsh/completions: add_cask_options 2021-01-05 15:54:26 +09:00
souleater7
d57c7153e2 Delete outdated references to HEAD 2021-01-04 15:48:23 -08:00
souleater7
e50e3e4b22 Delete references to devel 2021-01-01 10:16:31 -08:00
Kid
98c968ea2f Add brew casks command 2020-12-30 10:55:26 +08:00
Rylan Polster
ab97c30b14 cli/parser: use - instead of _ in cask args 2020-12-25 12:42:18 -05:00
metacollin
3fdad5ed33 Fixed tabs instead of spaces 2020-11-19 21:00:10 -07:00
metacollin
c176f28f39 Added fixes. 2020-11-19 20:18:08 -07:00
metacollin
b04a5ffa0b Turbocharged formula name completion 2020-11-13 05:36:53 -07:00
Akylzhan Sauranbay
c8809ce730 cmd/list.rb: --formula, --cask as default on TTY outputs
cmd/list.rb: --formula, --cask as default TTY:

cmd/list.rb: proper deprecated message on non TTY outputs

update manpage

update zsh completion

updated manpages/brew.1

update tests

return list_casks

list_spec.rb: not output to stderr
2020-10-12 14:52:03 +06:00
Akylzhan Sauranbay
f334e0e58c zsh completion: --cask as argument in list, outdated, upgrade
zsh completion: --cask in comments

--cask in upgrade
2020-10-03 15:54:12 +06:00
nandahkrishna
cf293d0ef5
livecheck: progress bar for JSON output
Co-authored-by: Sam Ford <1584702+samford@users.noreply.github.com>
Co-authored-by: Dustin Rodrigues <dust.rod@gmail.com>
2020-09-18 02:40:51 +05:30
Akylzhan Sauranbay
8fd565403e Remove unused zsh completions 2020-09-10 00:33:11 +06:00
Akylzhan Sauranbay
d7097b5598 Fix the usage of outdated brew cask list 2020-09-08 20:10:21 +06:00
nandahkrishna
e5fe57c1fe
Migrate livecheck to Homebrew/brew
Co-authored-by: Sam Ford <1584702+samford@users.noreply.github.com>
Co-authored-by: Thierry Moisan <thierry.moisan@gmail.com>
Co-authored-by: Dawid Dziurla <dawidd0811@gmail.com>
Co-authored-by: Maxim Belkin <maxim.belkin@gmail.com>
Co-authored-by: Issy Long <me@issyl0.co.uk>
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
Co-authored-by: Seeker <meaningseeking@protonmail.com>
2020-08-31 17:08:28 +05:30
Mike McQuaid
3875f16782
Fix --formula and --cask flags.
These were all made `--formulae` and `--casks` for consistency but that
doesn't behave as expected because they have special behaviours in
`args`. Instead, use the singular form everywhere.
2020-08-07 09:53:30 +01:00
Mike McQuaid
fb0a6338b1
Remove more tap pinning code.
This was deprecated and removed a while ago.
2020-08-06 12:24:10 +01:00
Marlon Richert
b558eb342f Improve zsh completion performance
* Move main completion cache handling to `brew update`.
* Enable completion caching by default.
2020-06-26 09:11:11 +03:00
Caleb Xu
a53c92bd7f Cache commands list for faster shell completions 2020-06-18 11:06:31 -04:00
Kien Dang
e6c720c22c Update zsh completion 2020-05-22 15:21:51 +08:00
Jacob Menke
159a5bb2d6 add compsys cache for brew casks 2020-05-20 05:13:42 -04:00
Thierry Moisan
0a95b18044
completions/zsh: add 'pr-pull' options 2020-04-05 11:20:24 -04:00
Tommy Yang
2746102347 completions/zsh: add brew bump-revision 2019-10-27 02:46:19 -07:00
fauxpark
c46244dc3d completions/zsh: add --greedy argument for brew cask outdated 2019-10-21 20:07:20 +11:00
Louis Bergelson
2927f0698c
Improve ZSH completion so local formula files are completable
* brew completion in ZSH currently doesn't complete local formula files for most commands.
* Updating the completion script to complete formula files as well as known formulas in places that it would makes sense to do so.
* This includesFixes to __brew_formula_or_ruby_files
  * Remove redundant call to uncached brew search
  * Add missing ""
2019-08-21 10:43:49 -04:00
Jonathan Chang
7ddc185b35 Fix various typos 2019-08-19 16:12:34 +10:00