blob: 925ba4b12a60738f9b500bfa5ec8df45b299f726 (
plain) (
tree)
|
|
#!/bin/bash
__cbt()
{
local cur prev opts
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
opts="$(cbt taskNames)"
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
return 0
}
complete -F __cbt cbt
|