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