fish-shell/share/completions/man.fish
axel c2f6c6c1d2 Do gettext translation of descriptions just-in-time internally in fish
darcs-hash:20060301165347-ac50b-3df9feec60dd9860e0988396d10b550a501f6802.gz
2006-03-02 02:53:47 +10:00

36 lines
1.6 KiB
Fish

complete -xc man -a "(__fish_complete_man)"
complete -xc man -a 1 -d (N_ "Program section")
complete -xc man -a 2 -d (N_ "Syscall section")
complete -xc man -a 3 -d (N_ "Library section")
complete -xc man -a 4 -d (N_ "Device section")
complete -xc man -a 5 -d (N_ "File format section")
complete -xc man -a 6 -d (N_ "Games section")
complete -xc man -a 7 -d (N_ "Misc section")
complete -xc man -a 8 -d (N_ "Admin section")
complete -xc man -a 9 -d (N_ "Kernel section")
complete -xc man -a tcl -d (N_ "Tcl section")
complete -xc man -a n -d (N_ "New section")
complete -xc man -a l -d (N_ "Local section")
complete -xc man -a p
complete -xc man -a o -d (N_ "Old section")
complete -rc man -s C -d (N_ "Configuration file")
complete -xc man -s M -a "(__fish_complete_directory (commandline -ct))" -d (N_ "Manpath")
complete -rc man -s P -d (N_ "Pager")
complete -xc man -s S -d (N_ "Manual sections")
complete -c man -s a -d (N_ "Display all matches")
complete -c man -s c -d (N_ "Always reformat")
complete -c man -s d -d (N_ "Debug")
complete -c man -s D -d (N_ "Debug and run")
complete -c man -s f -d (N_ "Show whatis information")
complete -c man -s F -l preformat -d (N_ "Format only")
complete -c man -s h -d (N_ "Display help and exit")
complete -c man -s k -d (N_ "Show apropos information")
complete -c man -s K -d (N_ "Search in all man pages")
complete -xc man -s m -d (N_ "Set system")
complete -xc man -s p -d (N_ "Preprocessors")
complete -c man -s t -d (N_ "Format for printing")
complete -c man -s w -l path -d (N_ "Only print locations")
complete -c man -s W -d (N_ "Only print locations")