diff options
Diffstat (limited to '')
| -rw-r--r-- | completions/rsp.zsh | 23 |
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 | ;; |
| 210 | esac | 210 | esac |
| 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 | ;; |
| 321 | esac | 314 | esac |
| 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=() |
