浏览代码

Adding compdef to maintain tmux completions.

Josh Matthews 12 年之前
父节点
当前提交
86c9b32031
共有 1 个文件被更改,包括 3 次插入0 次删除
  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