summaryrefslogtreecommitdiffstats
path: root/Completion/Unix/Command/_tmux
diff options
context:
space:
mode:
authorFrank Terbeck <ft@bewatermyfriend.org>2015-08-10 15:27:31 +0200
committerFrank Terbeck <ft@bewatermyfriend.org>2015-08-10 16:50:52 +0200
commit61ba1a92fdec7d8bfd76aa3a27e7a7e67ada2eab (patch)
tree160c775f306ef565637c4414aa86d97d6e968b29 /Completion/Unix/Command/_tmux
parent36056: Add helper script to check state of _tmux completion (diff)
downloadzsh-61ba1a92fdec7d8bfd76aa3a27e7a7e67ada2eab.tar
zsh-61ba1a92fdec7d8bfd76aa3a27e7a7e67ada2eab.tar.gz
zsh-61ba1a92fdec7d8bfd76aa3a27e7a7e67ada2eab.tar.bz2
zsh-61ba1a92fdec7d8bfd76aa3a27e7a7e67ada2eab.tar.lz
zsh-61ba1a92fdec7d8bfd76aa3a27e7a7e67ada2eab.tar.xz
zsh-61ba1a92fdec7d8bfd76aa3a27e7a7e67ada2eab.tar.zst
zsh-61ba1a92fdec7d8bfd76aa3a27e7a7e67ada2eab.zip
36052: _tmux: Remove old sub-commands and their aliases
Diffstat (limited to 'Completion/Unix/Command/_tmux')
-rw-r--r--Completion/Unix/Command/_tmux59
1 files changed, 0 insertions, 59 deletions
diff --git a/Completion/Unix/Command/_tmux b/Completion/Unix/Command/_tmux
index 18cbe27b7..55f6144a0 100644
--- a/Completion/Unix/Command/_tmux
+++ b/Completion/Unix/Command/_tmux
@@ -74,7 +74,6 @@ _tmux_aliasmap=(
breakp break-pane
capturep capture-pane
displayp display-panes
- downp down-pane
findw find-window
joinp join-pane
killp kill-pane
@@ -103,7 +102,6 @@ _tmux_aliasmap=(
swapp swap-pane
swapw swap-window
unlinkw unlink-window
- upp up-pane
# key bindings
bind bind-key
@@ -127,7 +125,6 @@ _tmux_aliasmap=(
# buffers
clearhist clear-history
- copyb copy-buffer
deleteb delete-buffer
lsb list-buffers
loadb load-buffer
@@ -340,41 +337,6 @@ function _tmux-confirm-before() {
__tmux-lastarg ${state} 'command_and_args' 1 "command string"
}
-function _tmux-copy-buffer() {
- [[ -n ${tmux_describe} ]] && print "Copy session paste buffers" && return
- local state session
- local -a args
- local -ax bopts
-
- args=(
- '-a[choose a source buffer index]:buffer:->srcbuf'
- '-b[choose a destination buffer index]:buffer:->dstbuf'
- '-s[choose a source session]:session:->srcsession'
- '-t[choose a destination session]:session:->dstsession'
- )
- _arguments ${args}
-
- case ${state} in
- ((src|dst)session)
- __tmux-sessions
- return
- ;;
- (srcbuf)
- session="$(__tmux-get-optarg -s "${words[@]}")"
- ;;
- (srcbuf)
- session="$(__tmux-get-optarg -t "${words[@]}")"
- ;;
- esac