mirror of
https://github.com/KevinMidboe/dotfiles.git
synced 2025-10-29 17:40:19 +00:00
Added oh-my-zsh in all its glory
This commit is contained in:
21
.oh-my-zsh/plugins/tmuxinator/_tmuxinator
Normal file
21
.oh-my-zsh/plugins/tmuxinator/_tmuxinator
Normal file
@@ -0,0 +1,21 @@
|
||||
_tmuxinator() {
|
||||
local commands projects
|
||||
commands=(${(f)"$(tmuxinator commands zsh)"})
|
||||
projects=(${(f)"$(tmuxinator completions start)"})
|
||||
|
||||
if (( CURRENT == 2 )); then
|
||||
_describe -t commands "tmuxinator subcommands" commands
|
||||
_describe -t projects "tmuxinator projects" projects
|
||||
elif (( CURRENT == 3)); then
|
||||
case $words[2] in
|
||||
copy|debug|delete|open|start)
|
||||
_arguments '*:projects:($projects)'
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
||||
return
|
||||
}
|
||||
|
||||
compdef _tmuxinator tmuxinator mux
|
||||
alias mux="tmuxinator"
|
||||
Reference in New Issue
Block a user