summaryrefslogtreecommitdiffstats
path: root/media-sound/xmmsctrl/files/xmmsctrl.bash-completion
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2019-09-02 05:23:45 +0200
committerSuren A. Chilingaryan <csa@suren.me>2019-09-02 05:23:45 +0200
commit576b6208d6defe240bfa2477d6dd19f1ed83bfaf (patch)
tree7d54883f16cccc4cbd414398d7fec3c437b36b49 /media-sound/xmmsctrl/files/xmmsctrl.bash-completion
parentfdd6b67a78a966f6a2131de8fe0e539316511083 (diff)
downloaddarklin4-576b6208d6defe240bfa2477d6dd19f1ed83bfaf.tar.gz
darklin4-576b6208d6defe240bfa2477d6dd19f1ed83bfaf.tar.bz2
darklin4-576b6208d6defe240bfa2477d6dd19f1ed83bfaf.tar.xz
darklin4-576b6208d6defe240bfa2477d6dd19f1ed83bfaf.zip
Cleaned most of outdated stuff
Diffstat (limited to 'media-sound/xmmsctrl/files/xmmsctrl.bash-completion')
-rw-r--r--media-sound/xmmsctrl/files/xmmsctrl.bash-completion38
1 files changed, 0 insertions, 38 deletions
diff --git a/media-sound/xmmsctrl/files/xmmsctrl.bash-completion b/media-sound/xmmsctrl/files/xmmsctrl.bash-completion
deleted file mode 100644
index 1568d3c..0000000
--- a/media-sound/xmmsctrl/files/xmmsctrl.bash-completion
+++ /dev/null
@@ -1,38 +0,0 @@
-# $Header: /var/cvsroot/gentoo-x86/media-sound/xmmsctrl/files/xmmsctrl.bash-completion,v 1.1 2004/11/04 23:22:33 eradicator Exp $
-# xmmsctrl completion
-
-_xmmsctrl()
-{
- local cur prev opts
- COMPREPLY=()
- cur="${COMP_WORDS[COMP_CWORD]}"
- prev="${COMP_WORDS[COMP_CWORD-1]}"
- opts="launch not cur eject getlength getpos gettime getvol help jump \
- next pause play playlist playfiles pref prev previous remove repeat \
- shuffle stop title quit --help equalizer main play_list paused playing \
- is_equalizer is_main is_play_list is_stream running session dir time \
- track vol"
-
- if [ ${COMP_CWORD} -eq 1 ] ; then
- COMPREPLY=($(compgen -W "${opts}" -- "${cur}"))
- return 0
- fi
-
- case "${prev}" in
- equalizer|main|play_list)
- COMPREPLY=($(compgen -W "0 1" -- "${cur}"))
- ;;
- dir)
- COMPREPLY=($(compgen -A directory -- "${cur}"))
- ;;
- not)
- COMPREPLY=($(compgen -W "${opts/not}" -- "${cur}"))
- ;;
- *)
- COMPREPLY=()
- ;;
- esac
-}
-complete -F _xmmsctrl xmmsctrl
-
-# vim: set ft=sh tw=80 sw=4 et :