Skip to content

Commit

Permalink
Add move completions
Browse files Browse the repository at this point in the history
  • Loading branch information
kubukoz committed Sep 21, 2022
1 parent 85f717e commit 7ff54a3
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion completions.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,15 @@ function _sn() {
'drop:Drop current track from the current playlist and skip to the next track'
'forward:Fast forward the current track by a percentage of its length (10% by default)'
'jump:Fast forward the current track to the next section'
'switch:Switch device (Spotify/Sonos)'
'move:Move song to playlist A'
's:alias for `skip`'
'd:alias for `drop`'
'f:alias for `forward`'
'j:alias for `jump`'
'w:alias for `switch`'
'm:alias for `move`'
'repl:Run application in interactive mode'
'switch:Switch device (Spotify/Sonos)'
)

_arguments "1: :{_describe 'command' cmds}" '*:: :->args'
Expand Down Expand Up @@ -43,6 +46,10 @@ function _sn() {
_arguments -C $help
;;

move)
_arguments -C $help
;;

switch)
_arguments -C $help
;;
Expand All @@ -67,6 +74,10 @@ function _sn() {
_arguments -C $help
;;

m)
_arguments -C $help
;;

repl)
_arguments -C $help
;;
Expand Down

0 comments on commit 7ff54a3

Please sign in to comment.