summary refs log tree commit diff
path: root/Completion/Unix
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Unix')
-rw-r--r--Completion/Unix/Command/_tmux3
1 files changed, 3 insertions, 0 deletions
diff --git a/Completion/Unix/Command/_tmux b/Completion/Unix/Command/_tmux
index eae7b18b2..30e395e62 100644
--- a/Completion/Unix/Command/_tmux
+++ b/Completion/Unix/Command/_tmux
@@ -155,6 +155,7 @@ function _tmux-attach-session() {
 
     args=(
         '-d[Detach other clients attached to target session]'
+        '-r[Put the client into read-only mode]'
         '-t[Choose a target session]:target session:__tmux-sessions'
     )
     _arguments ${args}
@@ -1256,6 +1257,7 @@ function __tmux-option-guard() {
     else
         options=(
             'aggressive-resize:DESC:on off'
+            'alternate-screen:DESC:on off'
             'automatic-rename:DESC:on off'
             'clock-mode-colour:__tmux-colours'
             'clock-mode-style:DESC:12 24'
@@ -1436,6 +1438,7 @@ function __tmux-window-options() {
     local -a tmux_window_options
     tmux_window_options=(
         'aggressive-resize:Aggressively resize windows'
+        'alternate-screen:Allow alternate screen feature to be used'
         'automatic-rename:Attempt to automatically rename windows'
         'clock-mode-colour:Set clock colour'
         'clock-mode-style:Set clock hour format (12/24)'