Eric Knibbe
827480f06b
messages/comments: wording fixes
2025-08-16 00:57:59 -04:00
George L. Yermulnik
75b37366d3
feat: Add Bash completion for Homebrew aliases
...
Add Bash completion support for Homebrew aliases:
https://github.com/Homebrew/homebrew-aliases
Unfortunately I'm not familiar enough neither with Ruby, nor with Fish/Zsh 🤷🏻
Fixes https://github.com/Homebrew/homebrew-aliases/issues/91
2024-12-03 23:48:50 -05:00
Jamin Thornsberry
c5253b23c2
Remove fish command completions for excluded commands
...
This removes fish command completions (but keeps argument completions)
for commands in the `COMPLETIONS_EXCLUSION_LIST` list.
It also removes unnecessary exclusions of `*instal` aliases in command
suggestions in bash and fish completions, since those were removed from
`internal_commands_list.txt` in Homebrew#10229. This makes
`COMPLETIONS_EXCLUSION_LIST` the single source of truth for commands to
exclude from completions.
2024-11-20 17:35:42 -06:00
Razvan Azamfirei
493028f667
completions: improve list of available services and outdated checks
2024-02-13 07:36:41 -05:00
Mike McQuaid
ac18853533
completions: ignore errors on cask list generation.
...
These will always error on Linux.
Fixes #16424
2024-01-09 09:19:38 +00:00
Alex Hedges
5ed06a7956
Handle undeclared POSIXLY_CORRECT in Bash completions
...
As of `brew` 4.0.2, sourcing the Bash completions with `set -eu` causes a
failure if `POSIXLY_CORRECT` is not declared. The check will now
properly handle this situation.
I'm not sure if the resulting code is POSIX-compliant, but it prevents a
breaking change until a better solution can be found.
2023-02-20 18:36:59 -05:00
EricFromCanada
0d2b74d7e7
docs: add missing template file edits
...
plus extra instructions for completions file editing
2023-02-19 16:22:39 -05:00
Maxim Belkin
216ad265af
Bash completions: warn and exit if POSIX mode detected
2023-02-16 16:04:30 +00:00
Maxim Belkin
fd5e9c8662
Bash completions: use HOMEBREW_CELLAR, if set
2023-02-11 10:59:52 -07:00
EricFromCanada
dfc9906184
internal messaging fixes
2023-02-10 23:17:16 -05:00
Mike McQuaid
ff5e517949
Merge pull request #14540 from maxim-belkin/speedup_tap_completions
...
Bash completions: speed up Tap completions
2023-02-07 14:56:25 +01:00
Maxim Belkin
262acf114f
Bash completions: clean up basic functions
2023-02-07 06:17:19 -07:00
Maxim Belkin
d8e07e2117
Bash completions: speed up Tap completions
2023-02-07 03:50:02 -07:00
Maxim Belkin
5f99c1cbda
Bash completions: apply fix from #14467 to the right file
2023-02-06 09:36:19 -07:00
XuehaiPan
cf7def0c68
style: apply shellcheck autofix
2021-11-08 03:07:25 +00:00
Gautham Goli
e4118bc4ca
Fix shellcheck style errors
2021-05-18 17:10:20 +05:30
Nanda H Krishna
b9b83edc1a
dev-cmd: rename brew man
to brew generate-man-completions
2021-05-04 18:32:42 +05:30
Gautham Goli
c1798a496a
Fix shellcheck
style errors on bash completion file
2021-05-02 14:58:39 +05:30
Gautham Goli
7abfb11a0b
Use shellcheck
on Bash completion file
2021-04-11 19:02:25 +05:30
Rylan Polster
4ef8c8279f
completions: complete files where appropriate in bash
2021-01-19 01:03:05 -05:00
Rylan Polster
a77fdca105
completions: complete multiple types
2021-01-17 20:22:00 -05:00
Rylan Polster
3af16832d9
Generate bash completions automatically
2021-01-15 00:03:28 -05:00