Debian Codegraph @

share/zsh/site-functions/_0launch

raw
1 #compdef 0launch
2 COMP_CWORD=$CURRENT "${words[1]}" _complete zsh "${words[@]}" |\
3 while read item
4 do
5 case "$item" in
6 add\ *) compadd -V dontsort -- "${item/#add /}" ;;
7 filter\ *) compadd -- "${item/#filter /}" ;;
8 prefix\ *) compadd -S '' -- "${item/#prefix /}" ;;
9 file) _files ;;
10 "") ;;
11 *) echo 1>&2 Bad reply $item ;;
12 esac
13 done