Skip to content
This repository was archived by the owner on Mar 5, 2022. It is now read-only.

Commit c66f129

Browse files
committed
Update auto-completion scripts
1 parent 1f840a0 commit c66f129

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

auto-completion/bash/googler-completion.bash

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,14 @@ _googler () {
1818
-c --tld
1919
-l --lang
2020
-x --exact
21+
--colorize
2122
-C --nocolor
2223
--colors
2324
-j --first --lucky
2425
-t --time
2526
-w --site
2627
--unfilter
2728
-p --proxy
28-
--noua
2929
--notweak
3030
--json
3131
--url-handler
@@ -41,6 +41,7 @@ _googler () {
4141
-n --count
4242
-c --tld
4343
-l --lang
44+
--colorize
4445
--colors
4546
-t --time
4647
-w --site

auto-completion/fish/googler.fish

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,14 @@ complete -c googler -s N -l news --description 'show results from n
2020
complete -c googler -s c -l tld -r --description 'country-specific search with top-level domain'
2121
complete -c googler -s l -l lang -r --description 'display in specified language'
2222
complete -c googler -s x -l exact --description 'disable automatic spelling correction'
23+
complete -c googler -l colorize -r --description 'whether to colorize output (options: auto/always/never)'
2324
complete -c googler -s C -l nocolor --description 'disable color output'
2425
complete -c googler -l colors -r --description 'set output colors'
2526
complete -c googler -s j -l first -l lucky --description 'open the first result in a web browser'
2627
complete -c googler -s t -l time -r --description 'time limit search (h/d/w/m/y + number)'
2728
complete -c googler -s w -l site -r --description 'search a site using Google'
2829
complete -c googler -l unfilter --description 'do not omit similar results'
2930
complete -c googler -s p -l proxy -r --description 'proxy in HOST:PORT format'
30-
complete -c googler -l noua --description 'disable user agent'
3131
complete -c googler -l notweak --description 'disable TCP optimizations, forced TLS 1.2'
3232
complete -c googler -l json --description 'output in JSON format'
3333
complete -c googler -l url-handler -r --description 'cli script or utility'

auto-completion/zsh/_googler

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,14 @@ args=(
4141
'(-c --tld)'{-c,--tld}'[country-specific search with top-level domain]:top level domain without dot'
4242
'(-l --lang)'{-l,--lang}'[display in specified language]:language code'
4343
'(-x --exact)'{-x,--exact}'[disable automatic spelling correction]'
44+
'(--colorize)--colorize[whether to colorize output]:auto/always/never'
4445
'(-C --nocolor)'{-C,--nocolor}'[disable color output]'
4546
'(--colors)--colors[set output colors]:six-letter string'
4647
'(-j --first --lucky)'{-j,--first,--lucky}'[open the first result in a web browser]'
4748
'(-t --time)'{-t,--time}'[time limit search]:period (h/d/w/m/y + number)'
4849
'(-w --site)'{-w,--site}'[search a site using Google]:domain'
4950
'(--unfilter)--unfilter[do not omit similar results]'
5051
'(-p --proxy)'{-p,--proxy}'[proxy in HOST:PORT format]:proxy details'
51-
'(--noua)--noua[disable user agent]'
5252
'(--notweak)--notweak[disable TCP optimizations, forced TLS 1.2]'
5353
'(--json)--json[output in JSON format; implies --exact and --noprompt]'
5454
'(--url-handler)--url-handler[cli script or utility]:url opener'

0 commit comments

Comments
 (0)