- -a|--add_similarity|--view_artist|-v|--bl_art)
- if [ -x /usr/bin/mpc ]; then
- artists=$(for x in $(/usr/bin/mpc list artist) ; do echo "'${x}'"; done)
- COMPREPLY=( $(compgen -W "${artists}" -- ${cur}) )
- return 0
- fi
- # It should also complete artist name when the string ends with a comma
- return 0
- ;;