mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-29 05:03:46 +08:00
78bd0f9cdb
- rename *list* functions to *print* - use short options everywhere - delegate less work to functions
8 lines
430 B
Fish
8 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"
|