2018-12-04 07:12:54 +00:00
|
|
|
# Completions for complete
|
|
|
|
|
2021-12-26 21:49:28 +00:00
|
|
|
complete -c complete -xa '(__fish_complete_command)'
|
2019-09-25 07:44:27 +00:00
|
|
|
complete -c complete -s c -l command -d "Command to add completion to" -xa '(__fish_complete_command)'
|
2019-09-24 05:43:38 +00:00
|
|
|
complete -c complete -s p -l path -d "Path to add completion to" -r
|
|
|
|
complete -c complete -s s -l short-option -d "POSIX-style short option to complete" -x
|
|
|
|
complete -c complete -s l -l long-option -d "GNU-style long option to complete" -x
|
|
|
|
complete -c complete -s o -l old-option -d "Old style long option to complete" -x
|
2018-12-04 07:14:01 +00:00
|
|
|
complete -c complete -s f -l no-files -d "Don't use file completion"
|
2021-05-16 04:02:03 +00:00
|
|
|
complete -c complete -s F -l force-files -d "Always use file completion"
|
2017-10-11 17:17:35 +00:00
|
|
|
complete -c complete -s r -l require-parameter -d "Require parameter"
|
2020-03-14 09:41:57 +00:00
|
|
|
complete -c complete -s x -l exclusive -d "Require parameter and don't use file completion"
|
2021-05-16 18:47:05 +00:00
|
|
|
complete -c complete -s a -l arguments -d "Space-separated list of possible arguments" -x
|
2019-09-24 05:43:38 +00:00
|
|
|
complete -c complete -s d -l description -d "Description of completion" -x
|
2017-10-11 17:17:35 +00:00
|
|
|
complete -c complete -s e -l erase -d "Remove completion"
|
|
|
|
complete -c complete -s h -l help -d "Display help and exit"
|
2018-12-04 07:14:01 +00:00
|
|
|
complete -c complete -s C -l do-complete -d "Print completions for a commandline specified as a parameter"
|
2024-04-20 07:50:10 +00:00
|
|
|
complete -c complete -l escape -d "Make -C escape special characters"
|
2019-09-24 05:43:38 +00:00
|
|
|
complete -c complete -s n -l condition -d "Completion only used if command has zero exit status" -x
|
2019-09-25 07:44:27 +00:00
|
|
|
complete -c complete -s w -l wraps -d "Inherit completions from specified command" -xa '(__fish_complete_command)'
|
2021-05-16 18:47:05 +00:00
|
|
|
complete -c complete -s k -l keep-order -d "Keep order of arguments instead of sorting alphabetically"
|
2018-12-04 07:12:54 +00:00
|
|
|
|
|
|
|
# Deprecated options
|
|
|
|
|
|
|
|
# complete -c complete -s A -l authoritative
|
|
|
|
# complete -c complete -s u -l unauthoritative
|