fish-shell/share/completions/choice.fish
EmilySeville7cfg 78bd0f9cdb Prettify all commands:
- rename *list* functions to *print*
- use short options everywhere
- delegate less work to functions
2022-01-26 21:37:39 -08:00

7 lines
430 B
Fish

complete -c choice -f -a /c -d "Specify the list of choices to be created"
complete -c choice -f -a /n -d "Hide the list of choices"
complete -c choice -f -a /cs -d "Specify that the choices are case-sensitive"
complete -c choice -f -a /t -d "Specify the number of seconds"
complete -c choice -f -a /d -d "Specify the default choice"
complete -c choice -f -a /m -d "Specify a message"
complete -c choice -f -a '/?' -d "Show help"