You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: completions/fish/brew.fish
+6-3
Original file line number
Diff line number
Diff line change
@@ -279,7 +279,7 @@ __fish_brew_complete_arg '-S' -l cask -d 'Search online and locally for casks'
279
279
__fish_brew_complete_arg '-S'-l closed -d'Search for only closed GitHub pull requests'
280
280
__fish_brew_complete_arg '-S'-l debian -d'Search for text in the given database'
281
281
__fish_brew_complete_arg '-S'-l debug -d'Display any debugging information'
282
-
__fish_brew_complete_arg '-S'-l desc -d'Search for formulae with a description matching text and casks with a name matching text'
282
+
__fish_brew_complete_arg '-S'-l desc -d'Search for formulae with a description matching text and casks with a name or description matching text'
283
283
__fish_brew_complete_arg '-S'-l fedora -d'Search for text in the given database'
284
284
__fish_brew_complete_arg '-S'-l fink -d'Search for text in the given database'
285
285
__fish_brew_complete_arg '-S'-l formula -d'Search online and locally for formulae'
@@ -578,14 +578,17 @@ __fish_brew_complete_arg 'deps; and not __fish_seen_argument -l formula -l formu
578
578
579
579
580
580
__fish_brew_complete_cmd 'desc''Display formula\'s name and one-line description'
581
+
__fish_brew_complete_arg 'desc'-l cask -d'Treat all named arguments as casks'
581
582
__fish_brew_complete_arg 'desc'-l debug -d'Display any debugging information'
582
583
__fish_brew_complete_arg 'desc'-l description -d'Search just descriptions for text. If text is flanked by slashes, it is interpreted as a regular expression'
584
+
__fish_brew_complete_arg 'desc'-l formula -d'Treat all named arguments as formulae'
583
585
__fish_brew_complete_arg 'desc'-lhelp-d'Show this message'
584
586
__fish_brew_complete_arg 'desc'-l name -d'Search just names for text. If text is flanked by slashes, it is interpreted as a regular expression'
585
587
__fish_brew_complete_arg 'desc'-l quiet -d'Make some output more quiet'
586
588
__fish_brew_complete_arg 'desc'-l search -d'Search both names and descriptions for text. If text is flanked by slashes, it is interpreted as a regular expression'
587
589
__fish_brew_complete_arg 'desc'-l verbose -d'Make some output more verbose'
Copy file name to clipboardexpand all lines: completions/zsh/_brew
+7-3
Original file line number
Diff line number
Diff line change
@@ -354,7 +354,7 @@ _brew__s() {
354
354
'(--open)--closed[Search for only closed GitHub pull requests]' \
355
355
'(--repology --macports --fink --opensuse --fedora --archlinux --ubuntu)--debian[Search for text in the given database]' \
356
356
'--debug[Display any debugging information]' \
357
-
'(--pull-request)--desc[Search for formulae with a description matching text and casks with a name matching text]' \
357
+
'(--pull-request)--desc[Search for formulae with a description matching text and casks with a name or description matching text]' \
358
358
'(--repology --macports --fink --opensuse --archlinux --debian --ubuntu)--fedora[Search for text in the given database]' \
359
359
'(--repology --macports --opensuse --fedora --archlinux --debian --ubuntu)--fink[Search for text in the given database]' \
360
360
'--formula[Search online and locally for formulae]' \
@@ -717,7 +717,11 @@ _brew_desc() {
717
717
'(--name --description)--search[Search both names and descriptions for text. If text is flanked by slashes, it is interpreted as a regular expression]' \
718
718
'--verbose[Make some output more verbose]' \
719
719
- formula \
720
-
'*::formula:__brew_formulae'
720
+
'--formula[Treat all named arguments as formulae]' \
721
+
'*::formula:__brew_formulae' \
722
+
- cask \
723
+
'--cask[Treat all named arguments as casks]' \
724
+
'*::cask:__brew_casks'
721
725
}
722
726
723
727
# brew developer
@@ -1513,7 +1517,7 @@ _brew_search() {
1513
1517
'(--open)--closed[Search for only closed GitHub pull requests]' \
1514
1518
'(--repology --macports --fink --opensuse --fedora --archlinux --ubuntu)--debian[Search for text in the given database]' \
1515
1519
'--debug[Display any debugging information]' \
1516
-
'(--pull-request)--desc[Search for formulae with a description matching text and casks with a name matching text]' \
1520
+
'(--pull-request)--desc[Search for formulae with a description matching text and casks with a name or description matching text]' \
1517
1521
'(--repology --macports --fink --opensuse --archlinux --debian --ubuntu)--fedora[Search for text in the given database]' \
1518
1522
'(--repology --macports --opensuse --fedora --archlinux --debian --ubuntu)--fink[Search for text in the given database]' \
1519
1523
'--formula[Search online and locally for formulae]' \
0 commit comments