Skip to content

Commit 7ff54a3

Browse files
committed
Add move completions
1 parent 85f717e commit 7ff54a3

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

completions.zsh

+12-1
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,15 @@ function _sn() {
99
'drop:Drop current track from the current playlist and skip to the next track'
1010
'forward:Fast forward the current track by a percentage of its length (10% by default)'
1111
'jump:Fast forward the current track to the next section'
12+
'switch:Switch device (Spotify/Sonos)'
13+
'move:Move song to playlist A'
1214
's:alias for `skip`'
1315
'd:alias for `drop`'
1416
'f:alias for `forward`'
1517
'j:alias for `jump`'
18+
'w:alias for `switch`'
19+
'm:alias for `move`'
1620
'repl:Run application in interactive mode'
17-
'switch:Switch device (Spotify/Sonos)'
1821
)
1922

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

49+
move)
50+
_arguments -C $help
51+
;;
52+
4653
switch)
4754
_arguments -C $help
4855
;;
@@ -67,6 +74,10 @@ function _sn() {
6774
_arguments -C $help
6875
;;
6976

77+
m)
78+
_arguments -C $help
79+
;;
80+
7081
repl)
7182
_arguments -C $help
7283
;;

0 commit comments

Comments
 (0)