1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-26 07:40:07 +00:00

Adding compdef to maintain tmux completions.

This commit is contained in:
Josh Matthews 2013-02-26 22:57:37 -05:00
parent 56c46c4ed8
commit 86c9b32031

View file

@ -56,6 +56,9 @@ function zsh_tmux_plugin_run()
fi fi
} }
# Use the completions for tmux for our function
compdef _tmux zsh_tmux_plugin_run
# Alias tmux to our wrapper function. # Alias tmux to our wrapper function.
alias tmux=zsh_tmux_plugin_run alias tmux=zsh_tmux_plugin_run