fish-shell/share/completions/man.fish
axel 8b73bac580 Rename __fish_complete_directory to increase consistency
darcs-hash:20061202233433-ac50b-48368a338773ad47807b0032389fd305d86b3275.gz
2006-12-03 09:34:33 +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_directories (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")