fish-shell/share/completions/complete.fish
axel d97f8f3fde Add missing completion for complete builtin
darcs-hash:20060527134741-ac50b-dd50e408384d48b4b859240ac4fb6ad1ea8d25a5.gz
2006-05-27 23:47:41 +10:00

15 lines
1.2 KiB
Fish

complete -c complete -s c -l command -d (N_ "Command to add completion to") -r
complete -c complete -s p -l path -d (N_ "Path to add completion to")
complete -c complete -s s -l short-option -d (N_ "Posix-style option to complete")
complete -c complete -s l -l long-option -d (N_ "GNU-style option to complete")
complete -c complete -s o -l old-option -d (N_ "Old style long option to complete")
complete -c complete -s f -l no-files -d (N_ "Do not use file completion")
complete -c complete -s r -l require-parameter -d (N_ "Require parameter")
complete -c complete -s x -l exclusive -d (N_ "Require parameter and do not use file completion")
complete -c complete -s a -l arguments -d (N_ "A list of possible arguments")
complete -c complete -s d -l description -d (N_ "Description of this completions")
complete -c complete -s u -l unauthorative -d (N_ "Option list is not complete")
complete -c complete -s e -l erase -d (N_ "Remove completion")
complete -c complete -s h -l help -d (N_ "Display help and exit")
complete -c complete -s C -l do-complete -d (N_ "Print all completions for the specified commandline")
complete -c complete -s n -l complete -d (N_ "The completion should only be used if the specified command has a zero exit status") -r