1 #compdef tmuxinator mux
5 local commands projects
6 commands=(${(f)"$(tmuxinator commands zsh)"})
7 projects=(${(f)"$(tmuxinator completions start)"})
9 if (( CURRENT == 2 )); then
10 _describe -t commands "tmuxinator subcommands" commands
11 _describe -t projects "tmuxinator projects" projects
12 elif (( CURRENT == 3)); then
14 copy|debug|delete|open|start)
15 _arguments '*:projects:($projects)'
23 compdef _tmuxinator tmuxinator