91 Commits

Author SHA1 Message Date
Seeker
a3f1e09bce dev-cmd/create: add --node option 2020-07-17 20:46:00 -07:00
Jonathan Chang
c6e9cff125 dev-cmd: add brew-sponsors.rb 2020-07-05 15:45:36 +10:00
Lionell
5f6917ae7c Merge branch 'master' into license 2020-06-28 02:07:53 +08: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
Dario Vladovic
519c339261
create: add --crystal option 2020-06-25 18:23:06 +02:00
lionellloh
97ae608890 update internal commands list 2020-06-25 13:44:26 +08:00
EricFromCanada
01f78582fa Use commands cache in bash/fish completions 2020-06-23 00:20:56 -04: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
EricFromCanada
0dc177d649 completions/bash: complete names of commands 2020-04-27 18:32:12 -04:00
tikuta
c6545687ea completions/bash: add flags for create
Sorts flags also.
2020-04-26 21:25:07 +09: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
Mike McQuaid
3f62a5a212
Merge pull request #6430 from lwolfsonkin/brew-fish-completions-update
Added a flurry of improvements to the brew fish completions
2019-09-09 09:09:36 +01:00
Lawrence
4796551499 Add --language option to brew install and brew audit fish completion 2019-09-07 16:46:45 -04:00
Lawrence
894cb54af7 Added brew cask upgrade --dry-run fish completion 2019-09-05 23:34:28 -04:00
Lawrence
e19b5485fd Drop fish completions for now-deleted brew prune command 2019-09-05 23:19:21 -04:00
Lawrence
4e2096f21a Add cask completions to brew cleanup 2019-09-05 23:18:30 -04: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
Lawrence
7f0be407c3 Drop nonexistent brew cask cleanup completions 2019-06-11 13:04:51 -04:00
Lawrence
149f95eb9e Added TODO for dropping brew search's cache desc_cache.json 2019-06-11 13:04:31 -04:00
Lawrence
f2dce55aae Add only unpinned formulae as completions for brew pin 2019-06-08 17:59:46 -04:00
Lawrence
8eb4cd35ac rename fish functions to be more styled like most fish functions 2019-06-08 17:42:56 -04:00
Lawrence
88e1557df9 Update completions readme 2019-06-08 17:39:44 -04:00
Lawrence
915636dd1f Copy completions from github.com/laughdelic/brew-completions 2019-06-08 17:24:27 -04:00
Connor Gibson
b9fcd00386
Removed brew prune completion entries 2019-05-29 18:35:40 -07:00
Gijs Key
d0ffd2487e
remove incorrect cask completion cleanup
The brew file contains an incorrect completion for brew cask cleanup, which will yield an error as cleanup is deprecated from brew cask.
2019-05-02 16:09:40 +02:00
fauxpark
3373f73e7d Respect --greedy in cask upgrade completion 2019-04-01 19:40:45 +11:00
Jonathan Chang
f6b4b470cd
Merge pull request #5844 from maxim-belkin/remove-bash-prune-completion
Brew: remove prune completion for Bash
2019-03-09 00:02:39 +11:00
dana
58b52ca36e completions/zsh: Hide *instal from all commands
Aliases like instal and uninstal are unhelpful and noisy; don't offer them

See also PR #3052
2019-03-07 14:31:48 -06:00
Maxim Belkin
adb3a17fef
Brew: remove prune completion for Bash 2019-03-06 10:25:13 -06:00
dana
95c1c8eb61 completions/zsh: Improve caching behaviour
Fixes #5839

- Eliminate reliance on external utility calls for cache invalidation
- Update cache policy to also invalidate if cache file is >=2 weeks old or if
  tap indexes are non-existent
- Do not override any cache policy the user might already have set
- Handle default cache policy determination as early as possible to ensure that
  a default is set appropriately for all helpers (this will mostly be useful if
  other helpers need caching in the future)
2019-03-05 11:43:09 -06:00
Mike McQuaid
f1d6c0f5a4
completions/zsh: fix a typo. 2019-01-30 21:39:29 +00:00
Maxim Belkin
7d7ad6cb0f
bash completions: start auto-completing early 2019-01-12 18:48:06 -06:00
Maxim Belkin
ca29e508f7
bash completions: use proper Bash syntax 2019-01-11 11:32:26 -06:00
Romain Bossart
069d123c8e _brew | fix comments 2018-12-13 09:12:44 +01:00
Romain Bossart
608a62b6e7 _brew | use git-index mtime for caching policy 2018-12-13 08:46:52 +01:00
Romain Bossart
2a6b6036a2 _brew | use git indexes mtime 2018-12-12 14:16:55 +01:00
Romain Bossart
d2c0d06d8f _brew | allow 'brew search' to be cached by zsh 2018-12-10 22:35:14 +01:00
Romain Bossart
fcbaca10ba _brew | cleanup cache-policy zstyle 2018-12-10 22:33:44 +01:00
Romain Bossart
95a09f72b1 allow 'brew commands' to be cached by zsh 2018-12-09 00:22:47 +01:00
Markus Reiter
55cde526a8 Deprecate brew cask cleanup. 2018-08-13 20:09:34 +02:00
Markus Reiter
0a7ab5c232 Fix zsh completion. 2018-07-19 13:42:40 +02:00
Andrew Janke
0a2d8c3d4d Add --display-times option to install, reinstall, and upgrade 2018-07-14 11:06:03 -04:00
Andrew Janke
8fc38ce64f zsh completion: Remove redundant exclusion lists for single options 2018-06-20 01:09:40 -04:00
Mike McQuaid
7fac0b3b82
Merge pull request #4331 from apjanke/brew-style-complete-files
brew style zsh completion: complete files
2018-06-11 21:15:48 +01:00
Andrew Janke
65304ec3f2 brew style zsh completion: complete files 2018-06-11 15:35:55 -04:00