fish-shell/share/completions/whatis.fish
2020-02-28 11:17:38 +01:00

14 lines
883 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"