Browse Source

Adding compdef to maintain tmux completions.

Josh Matthews 12 years ago
parent
commit
86c9b32031
1 changed files with 3 additions and 0 deletions
  1. 3 0
      plugins/tmux/tmux.plugin.zsh

+ 3 - 0
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