diff options
Diffstat (limited to '')
| -rw-r--r-- | completions/rsp.bash | 3 | ||||
| -rw-r--r-- | completions/rsp.fish | 1 | ||||
| -rw-r--r-- | completions/rsp.zsh | 2 |
3 files changed, 4 insertions, 2 deletions
diff --git a/completions/rsp.bash b/completions/rsp.bash index c4e295f..f5c87dc 100644 --- a/completions/rsp.bash +++ b/completions/rsp.bash | |||
| @@ -766,7 +766,8 @@ _rsp() { | |||
| 766 | fi | 766 | fi |
| 767 | case "${prev}" in | 767 | case "${prev}" in |
| 768 | *) | 768 | *) |
| 769 | COMPREPLY=() | 769 | COMPREPLY=( $(compgen -W "on off all none album albums" -- "${cur}") ) |
| 770 | return 0 | ||
| 770 | ;; | 771 | ;; |
| 771 | esac | 772 | esac |
| 772 | COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) | 773 | COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) |
diff --git a/completions/rsp.fish b/completions/rsp.fish index 8764bb9..56f3766 100644 --- a/completions/rsp.fish +++ b/completions/rsp.fish | |||
| @@ -56,6 +56,7 @@ complete -c rsp -n "__fish_rsp_using_subcommand next" -s h -l help -d 'Print hel | |||
| 56 | complete -c rsp -n "__fish_rsp_using_subcommand previous" -s h -l help -d 'Print help' | 56 | complete -c rsp -n "__fish_rsp_using_subcommand previous" -s h -l help -d 'Print help' |
| 57 | complete -c rsp -n "__fish_rsp_using_subcommand volume" -s h -l help -d 'Print help' | 57 | complete -c rsp -n "__fish_rsp_using_subcommand volume" -s h -l help -d 'Print help' |
| 58 | complete -c rsp -n "__fish_rsp_using_subcommand shuffle" -s h -l help -d 'Print help' | 58 | complete -c rsp -n "__fish_rsp_using_subcommand shuffle" -s h -l help -d 'Print help' |
| 59 | complete -c rsp -n "__fish_rsp_using_subcommand shuffle" -f -a "on off all none album albums" -d 'Shuffle mode' | ||
| 59 | complete -c rsp -n "__fish_rsp_using_subcommand queue" -s h -l help -d 'Print help' | 60 | complete -c rsp -n "__fish_rsp_using_subcommand queue" -s h -l help -d 'Print help' |
| 60 | complete -c rsp -n "__fish_rsp_using_subcommand status" -s h -l help -d 'Print help' | 61 | complete -c rsp -n "__fish_rsp_using_subcommand status" -s h -l help -d 'Print help' |
| 61 | complete -c rsp -n "__fish_rsp_using_subcommand scan" -l paths -r -F | 62 | complete -c rsp -n "__fish_rsp_using_subcommand scan" -l paths -r -F |
diff --git a/completions/rsp.zsh b/completions/rsp.zsh index dd24572..87fbfcd 100644 --- a/completions/rsp.zsh +++ b/completions/rsp.zsh | |||
| @@ -102,7 +102,7 @@ _arguments "${_arguments_options[@]}" : \ | |||
| 102 | _arguments "${_arguments_options[@]}" : \ | 102 | _arguments "${_arguments_options[@]}" : \ |
| 103 | '-h[Print help]' \ | 103 | '-h[Print help]' \ |
| 104 | '--help[Print help]' \ | 104 | '--help[Print help]' \ |
| 105 | '::mode:_default' \ | 105 | '::mode:(on off all none album albums)' \ |
| 106 | && ret=0 | 106 | && ret=0 |
| 107 | ;; | 107 | ;; |
| 108 | (queue) | 108 | (queue) |
