summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/tmux/tmux.plugin.zsh3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/tmux/tmux.plugin.zsh b/plugins/tmux/tmux.plugin.zsh
index 982f87356..5c4076904 100644
--- a/plugins/tmux/tmux.plugin.zsh
+++ b/plugins/tmux/tmux.plugin.zsh
@@ -56,6 +56,9 @@ function zsh_tmux_plugin_run()
fi
}
+# Use the completions for tmux for our function
+compdef _tmux zsh_tmux_plugin_run
+
# Alias tmux to our wrapper function.
alias tmux=zsh_tmux_plugin_run