aboutsummaryrefslogtreecommitdiff
path: root/shell-integration/cbt-completions.bash
blob: 925ba4b12a60738f9b500bfa5ec8df45b299f726 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/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