Sha256: e67bdc16e6b789b0898560838324b2a2d8e57f37b4f7c0f693745ac131ae7acf

Contents?: true

Size: 349 Bytes

Versions: 13

Compression:

Stored size: 349 Bytes

Contents

#!/usr/bin/env zsh

if [[ ! -o interactive ]]; then
    return
fi

compctl -K _tmuxinator tmuxinator mux

_tmuxinator() {
  local words completions
  read -cA words

  if [ "${#words}" -eq 2 ]; then
    completions="$(tmuxinator commands)"
  else
    completions="$(tmuxinator completions ${words[2,-2]})"
  fi

  reply=("${(ps:\n:)completions}")
}

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
tmuxinator-0.6.8 completion/tmuxinator.zsh
tmuxinator-0.6.7 completion/tmuxinator.zsh
tmuxinator-0.6.7.pre completion/tmuxinator.zsh
tmuxinator-0.6.6 completion/tmuxinator.zsh
tmuxinator-0.6.6.pre.3 completion/tmuxinator.zsh
tmuxinator-0.6.6.pre.2 completion/tmuxinator.zsh
tmuxinator-0.6.6.pre completion/tmuxinator.zsh
tmuxinator-0.6.5 completion/tmuxinator.zsh
tmuxinator-0.6.4 completion/tmuxinator.zsh
tmuxinator-0.6.3 completion/tmuxinator.zsh
tmuxinator-0.6.2 completion/tmuxinator.zsh
tmuxinator-0.6.1 completion/tmuxinator.zsh
tmuxinator-0.6.0 completion/tmuxinator.zsh