summary refs log tree commit diff
diff options
context:
space:
mode:
authorFrank Terbeck <ft@bewatermyfriend.org>2015-08-10 15:27:24 +0200
committerFrank Terbeck <ft@bewatermyfriend.org>2015-08-10 16:50:50 +0200
commit75530dc965c25b1469b74cbd55224b09602e4120 (patch)
tree1d2442b6ec4813cd0bbca85079d5c3cba09f0fb1
parente2495da3c2a2aaa76952413e73da5b866d8b50e1 (diff)
downloadzsh-75530dc965c25b1469b74cbd55224b09602e4120.tar.gz
zsh-75530dc965c25b1469b74cbd55224b09602e4120.tar.xz
zsh-75530dc965c25b1469b74cbd55224b09602e4120.zip
36063: _tmux: Remove dead code
-rw-r--r--ChangeLog2
-rw-r--r--Completion/Unix/Command/_tmux12
2 files changed, 2 insertions, 12 deletions
diff --git a/ChangeLog b/ChangeLog
index a6fd0070d..e24165ed4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -9,6 +9,8 @@
 	* 36062: Completion/Unix/Command/_tmux: _tmux: Add support for new
 	sub-commands
 
+	* 36063: Completion/Unix/Command/_tmux: _tmux: Remove dead code
+
 2015-08-10  Peter Stephenson  <p.stephenson@samsung.com>
 
 	* 36045: Test/A05execution.ztst: make effect of failures
diff --git a/Completion/Unix/Command/_tmux b/Completion/Unix/Command/_tmux
index 92c919068..a6e5e4a59 100644
--- a/Completion/Unix/Command/_tmux
+++ b/Completion/Unix/Command/_tmux
@@ -1231,18 +1231,6 @@ function __tmux-bound-keys() {
     _describe -t keys 'keys' keys
 }
 
-function __tmux-choose-stuff() {
-    # choose-{client,session,window} accept exactly the same arguments, so...
-    local curcontext="${curcontext}" state
-    local -a args
-    args=(
-        '-t[choose a target pane]:panes:__tmux-panes'
-        '*:: :->tmpl'
-    )
-    _arguments ${args} && return
-    __tmux-lastarg ${state} 'tmpl' 1 "tmux command template"
-}
-
 function __tmux-clients() {
     local expl
     local -a clients