2018-12-04 07:12:54 +00:00
|
|
|
# Completions for complete
|
|
|
|
|
2017-10-11 17:17:35 +00:00
|
|
|
complete -c complete -s c -l command -d "Command to add completion to" -r
|
|
|
|
complete -c complete -s p -l path -d "Path to add completion to"
|
2018-12-04 07:12:54 +00:00
|
|
|
complete -c complete -s s -l short-option -d "POSIX-style short option to complete"
|
|
|
|
complete -c complete -s l -l long-option -d "GNU-style long option to complete"
|
2017-10-11 17:17:35 +00:00
|
|
|
complete -c complete -s o -l old-option -d "Old style long option to complete"
|
2018-12-04 07:12:54 +00:00
|
|
|
complete -c complete -s f -l no-files -d "Don\'t use file completion"
|
2017-10-11 17:17:35 +00:00
|
|
|
complete -c complete -s r -l require-parameter -d "Require parameter"
|
2018-12-04 07:12:54 +00:00
|
|
|
complete -c complete -s x -l exclusive -d "Require parameter and don\'t use file completion"
|
|
|
|
complete -c complete -s a -l arguments -d "Space-separated list of possible option arguments"
|
|
|
|
complete -c complete -s d -l description -d "Description of completion"
|
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:12:54 +00:00
|
|
|
complete -c complete -s C -l do-complete -d "Print all completions for current commandline"
|
|
|
|
complete -c complete -s n -l condition -d "Completion only used if command has zero exit status" -r
|
|
|
|
complete -c complete -s w -l wraps -d "Inherit completions from specified command"
|
|
|
|
|
|
|
|
# Deprecated options
|
|
|
|
|
|
|
|
# complete -c complete -s A -l authoritative
|
|
|
|
# complete -c complete -s u -l unauthoritative
|