summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorJosh Matthews <jmatth@nbcs.rutgers.edu>2013-02-26 22:57:37 -0500
committerJosh Matthews <jmatth@nbcs.rutgers.edu>2013-02-26 22:57:37 -0500
commit86c9b32031dc28b4c6a641a4475e0e55c7ff32e5 (patch)
treee5df40dd6a9dc5e3e1ac2f36daa1aac3c1b485ec /plugins
parent56c46c4ed8339c66c671927c197eb4511b5a664c (diff)
downloadzsh-86c9b32031dc28b4c6a641a4475e0e55c7ff32e5.tar.gz
zsh-86c9b32031dc28b4c6a641a4475e0e55c7ff32e5.tar.bz2
zsh-86c9b32031dc28b4c6a641a4475e0e55c7ff32e5.zip
Adding compdef to maintain tmux completions.
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