Sha256: 1195a616d4ed5be6d19356a67d68eaf33ac9e8817d1d8af7900be216a89b1769

Contents?: true

Size: 259 Bytes

Versions: 7

Compression:

Stored size: 259 Bytes

Contents

# https://blog.jcoglan.com/2013/02/12/tab-completion-for-your-command-line-apps/

_troo_complete() {
  local word completions
  word="$1"
  completions="$(troo autocomplete "${word}")"
  reply=( "${(ps:\n:)completions}" )
}

compctl -f -K _troo_complete troo

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
troo-0.0.15 bin/completion.zsh
troo-0.0.14 bin/completion.zsh
troo-0.0.13 bin/completion.zsh
troo-0.0.12 bin/completion.zsh
troo-0.0.11 bin/completion.zsh
troo-0.0.10 bin/completion.zsh
troo-0.0.9 bin/completion.zsh