mirror of
https://github.com/fish-shell/fish-shell
synced 2024-11-15 09:27:38 +00:00
9367d4ff71
This does not include checks/function.fish because that currently includes a "; end" in a message that indent would remove, breaking the test.
14 lines
877 B
Fish
14 lines
877 B
Fish
complete -xc whatis -a "(__fish_complete_man)"
|
|
|
|
complete -c whatis -s d -l debug -d Debug
|
|
complete -c whatis -s v -l verbose -d Verbose
|
|
complete -c whatis -s r -l regex -d "Interpret each keyword as a regex"
|
|
complete -c whatis -s w -l wildcard -d "Allow wildcards"
|
|
complete -c whatis -s l -l long -d "Do not trim output to terminal width"
|
|
complete -rc whatis -s C -l config-file -d "Configuration file"
|
|
complete -xc whatis -s L -l locale -a "(command -sq locale; and locale -a)" -d "Set locale"
|
|
complete -xc whatis -s m -l systems -d "Set system"
|
|
complete -xc whatis -s M -l manpath -a "(__fish_complete_directories (commandline -ct))" -d Manpath
|
|
complete -xc whatis -s s -l sections -l section -d "Search only these sections (colon-separated)"
|
|
complete -c whatis -s '?' -l help -l usage -d "Display help and exit"
|
|
complete -c whatis -s V -l version -d "Print program version"
|