summary refs log tree commit diff
path: root/Completion/Unix/Command/_cplay
blob: 3b421917330ea3ec3434278cfaf1197ae1b4ab4c (plain) (blame)
1
2
3
4
5
6
7
8
#compdef cplay

_arguments -s \
  '-n[enable restricted mode]' \
  '-r[toggle playlist repeat mode]' \
  '-R[toggle playlist random mode]' \
  '-v[toggle PCM and MASTER volume control]' \
  '*:playlist or directory or audio file:_files -g "*.(mp3|mp2|ogg|669|amf|ams|dsm|far|it|med|mod|mt2|mtm|okt|s3m|stm|ult|gdm|xm|m3u|pls|spx|wav|au)"'