2019-10-29 20:32:26 +08:00
|
|
|
complete -c command -n 'test (count (commandline -opc)) -eq 1' -s h -l help -d 'Display help and exit'
|
|
|
|
complete -c command -n 'test (count (commandline -opc)) -eq 1' -s a -l all -d 'Print all external commands by the given name'
|
2020-09-04 22:41:34 +08:00
|
|
|
complete -c command -n 'test (count (commandline -opc)) -eq 1' -s q -l quiet -l query -d 'Do not print anything, only set exit status'
|
2019-10-29 20:32:26 +08:00
|
|
|
complete -c command -n 'test (count (commandline -opc)) -eq 1' -s s -l search -d 'Print the file that would be executed'
|
2019-11-05 17:56:03 +08:00
|
|
|
complete -c command -xa "(__fish_complete_subcommand)"
|