aboutsummaryrefslogtreecommitdiffstats
path: root/completions/rsp.zsh
diff options
context:
space:
mode:
authorsalmonik <raisersoft@proton.me>2026-05-16 12:47:43 +0200
committersalmonik <raisersoft@proton.me>2026-05-16 12:47:43 +0200
commit43562db0804338f2d55dff13439f1165f8dd9d3f (patch)
tree134248a95024815194d152de56f9b3f70d24d096 /completions/rsp.zsh
parentAdd scrobbling support (Last.fm + ListenBrainz) and rsp settings reload (diff)
downloadrsplayer-43562db0804338f2d55dff13439f1165f8dd9d3f.tar.gz
rsplayer-43562db0804338f2d55dff13439f1165f8dd9d3f.zip
first public release.
Diffstat (limited to '')
-rw-r--r--completions/rsp.zsh23
1 files changed, 0 insertions, 23 deletions
diff --git a/completions/rsp.zsh b/completions/rsp.zsh
index e8da3d7..dd24572 100644
--- a/completions/rsp.zsh
+++ b/completions/rsp.zsh
@@ -209,13 +209,6 @@ esac
209 ;; 209 ;;
210esac 210esac
211;; 211;;
212(completions)
213_arguments "${_arguments_options[@]}" : \
214'-h[Print help]' \
215'--help[Print help]' \
216'::shell -- Shell to generate (bash, zsh, fish, elvish, powershell) If not specified, generates all completion files:_default' \
217&& ret=0
218;;
219(help) 212(help)
220_arguments "${_arguments_options[@]}" : \ 213_arguments "${_arguments_options[@]}" : \
221":: :_rsp__subcmd__help_commands" \ 214":: :_rsp__subcmd__help_commands" \
@@ -320,10 +313,6 @@ _arguments "${_arguments_options[@]}" : \
320 ;; 313 ;;
321esac 314esac
322;; 315;;
323(completions)
324_arguments "${_arguments_options[@]}" : \
325&& ret=0
326;;
327(help) 316(help)
328_arguments "${_arguments_options[@]}" : \ 317_arguments "${_arguments_options[@]}" : \
329&& ret=0 318&& ret=0
@@ -356,16 +345,10 @@ _rsp_commands() {
356'status:Show player status' \ 345'status:Show player status' \
357'scan:Scan music paths to populate database' \ 346'scan:Scan music paths to populate database' \
358'settings:Settings management' \ 347'settings:Settings management' \
359'completions:Generate shell completions (developer only)' \
360'help:Print this message or the help of the given subcommand(s)' \ 348'help:Print this message or the help of the given subcommand(s)' \
361 ) 349 )
362 _describe -t commands 'rsp commands' commands "$@" 350 _describe -t commands 'rsp commands' commands "$@"
363} 351}
364(( $+functions[_rsp__subcmd__completions_commands] )) ||
365_rsp__subcmd__completions_commands() {
366 local commands; commands=()
367 _describe -t commands 'rsp completions commands' commands "$@"
368}
369(( $+functions[_rsp__subcmd__help_commands] )) || 352(( $+functions[_rsp__subcmd__help_commands] )) ||
370_rsp__subcmd__help_commands() { 353_rsp__subcmd__help_commands() {
371 local commands; commands=( 354 local commands; commands=(
@@ -385,16 +368,10 @@ _rsp__subcmd__help_commands() {
385'status:Show player status' \ 368'status:Show player status' \
386'scan:Scan music paths to populate database' \ 369'scan:Scan music paths to populate database' \
387'settings:Settings management' \ 370'settings:Settings management' \
388'completions:Generate shell completions (developer only)' \
389'help:Print this message or the help of the given subcommand(s)' \ 371'help:Print this message or the help of the given subcommand(s)' \
390 ) 372 )
391 _describe -t commands 'rsp help commands' commands "$@" 373 _describe -t commands 'rsp help commands' commands "$@"
392} 374}
393(( $+functions[_rsp__subcmd__help__subcmd__completions_commands] )) ||
394_rsp__subcmd__help__subcmd__completions_commands() {
395 local commands; commands=()
396 _describe -t commands 'rsp help completions commands' commands "$@"
397}
398(( $+functions[_rsp__subcmd__help__subcmd__help_commands] )) || 375(( $+functions[_rsp__subcmd__help__subcmd__help_commands] )) ||
399_rsp__subcmd__help__subcmd__help_commands() { 376_rsp__subcmd__help__subcmd__help_commands() {
400 local commands; commands=() 377 local commands; commands=()