about summary refs log tree commit diff
path: root/Completion
diff options
context:
space:
mode:
authorMatt Koscica <matt.koscica@gmail.com>2023-10-09 22:26:27 +0200
committerOliver Kiddle <opk@zsh.org>2023-11-14 21:39:30 +0100
commitbe223aedee772fc31e12ec8c5277f50aae25b0fe (patch)
tree495117a530fe2f6b69cbdf5be76a2d5998ef1aba /Completion
parent5c7a97ff7d8f80a2ac823c47aaca26738e16f960 (diff)
downloadzsh-be223aedee772fc31e12ec8c5277f50aae25b0fe.tar.gz
zsh-be223aedee772fc31e12ec8c5277f50aae25b0fe.tar.xz
zsh-be223aedee772fc31e12ec8c5277f50aae25b0fe.zip
github #106: update tmux completion (20230919); tweak Util/check-tmux-state
- update tmux completion functions
- tweak check-tmux-state to take current file format into account
Diffstat (limited to 'Completion')
-rw-r--r--Completion/Unix/Command/_tmux12
1 files changed, 10 insertions, 2 deletions
diff --git a/Completion/Unix/Command/_tmux b/Completion/Unix/Command/_tmux
index c8ed24b26..b9c220f17 100644
--- a/Completion/Unix/Command/_tmux
+++ b/Completion/Unix/Command/_tmux
@@ -145,7 +145,6 @@ _tmux_aliasmap=(
     if          if-shell
     lock        lock-server
     run         run-shell
-    info        server-info
     wait        wait-for
 )
 
@@ -881,7 +880,7 @@ _tmux-send-prefix() {
 # aliasmap system in check-tmux-state can properly handle aliases which are
 # more complex than a single word, it's best to leave this here.
 
-_tmux-server-info() {
+_tmux-server-access() {
   [[ -n ${tmux_describe} ]] && print "show server information" && return
   __tmux-nothing-else
 }
@@ -1654,6 +1653,7 @@ function __tmux-session-options() {
         'lock-after-time:lock sessions after N seconds'
         'lock-command:command to run for locking a client'
         'message-command-style:status line message command style'
+        'message-line:status message and command prompt position'
         'message-style:status line message style'
         'mouse:enable mouse support'
         'prefix:primary prefix key'
@@ -1798,6 +1798,7 @@ function __tmux-window-options() {
     local -a tmux_window_options
     tmux_window_options=(
         'aggressive-resize:aggressively resize windows'
+        'allow-passthrough:allow programs in the pane to bypass tmux'
         'allow-rename:allow programs to change window titles'
         'alternate-screen:allow alternate screen feature to be used'
         'automatic-rename-format:format for automatic renames'
@@ -1809,8 +1810,13 @@ function __tmux-window-options() {
         'copy-mode-match-style:set the style of search matches in copy mode'
         'cursor-colour:set the colour of the cursor'
         'cursor-style:set the style of the cursor'
+        'fill-character:set the character used to fill unused window areas'
         'main-pane-height:set height for main-* layouts'
         'main-pane-width:set width for main-* layouts'
+        'menu-style:set the menu style'
+        'menu-selected-style:set the selected menu item style'
+        'menu-border-style:set the menu border style'
+        'menu-border-lines:set the type of characters used for drawing menu borders'
         'mode-keys:mode to use in copy and choice modes (vi/emacs)'
         'mode-style:set window modes style'
         'monitor-activity:monitor window activity'
@@ -1830,6 +1836,8 @@ function __tmux-window-options() {
         "popup-border-style:set the style for the popup's border"
         'popup-style:set the popup style'
         "remain-on-exit:don't destroy windows after the program exits"
+        "remain-on-exit-format:set the text shown at bottom of exited panes"
+        'scroll-on-clear:scroll previous contents into history before clear'
         'synchronize-panes:send input to all panes of a window'
         'window-active-style:style of active window'
         'window-size:indicate how to automatically size windows'