1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-05-09 17:16:19 +02:00
Commit Graph

65 Commits

Author SHA1 Message Date
Matt Koscica dbefe08f3e github #87 (tweaked): update options tmux 3.4
Import completion updates from tmux.git, the revision used was
c67abcf8182b, and the updates were generated by Util/check-tmux-state.

check-tmux-state: changes to output parsing + variable declaration

parsing of `tmux show-options` is slightly more idiomatic (thanks to
@phy1729 for the syntax), and it now also ignores user-specified options
(which are prefixed with an @ symbol).

the lines defining and declaring supported_server_options were also
swapped to the correct order - `typeset` was being called after
supported_server_options was populated, contrary to all the other
supported_*/available_* arrays used in the same area of the file.
2022-11-17 20:47:15 +01:00
Oliver Kiddle a9386df558 49319: completion options update 2021-08-29 17:08:34 +02:00
Oliver Kiddle e6fdd35a83 49150: consistently use singular form for headings on completion match groups 2021-07-09 00:23:52 +02:00
Oliver Kiddle 5a34b68ae2 46217: update options for tmux 3.1 2020-07-08 23:52:37 +02:00
Oliver Kiddle 0cc98dfe05 44800: complete tmux formats 2019-10-01 23:15:21 +02:00
Oliver Kiddle 359a8fce00 44587: completion option updates 2019-08-19 16:15:49 +02:00
Oliver Kiddle d5fec6b512 43816: various completion option updates 2018-11-12 10:32:41 +01:00
Oliver Kiddle afd008d96b 43073: various completion option updates 2018-06-21 13:28:24 +02:00
Oliver Kiddle 47430bcd7c 42317: completion option updates for commands that have had recent updates 2018-01-23 11:03:00 +01:00
Oliver Kiddle 101fb8dbf8 41732: bring tmux completion in line with tmux 2.5 - removing completion of mode tables 2017-09-22 01:16:53 +02:00
Daniel Shahaf 73514c40f6 41567: _tmux: Complete detached sessions first for attach-session. 2017-08-30 00:13:06 +00:00
Daniel Shahaf 1e44c649a4 41566: _tmux: Complete only attached sessions for detach-session. 2017-08-30 00:13:03 +00:00
Daniel Shahaf eb6c012f64 41564: _tmux: Complete environment variables and their values for set-environment and show-environment.
Also, teach show-environment not to offer --options after positional
arguments.
2017-08-30 00:12:07 +00:00
Daniel Shahaf 9a4fb22d89 41557: _tmux: show-environment, set-environment: Make -g,-t mutually exclusive.
tmux does not error out on the combination, but it does ignore one of
the two when both are specified.
2017-08-30 00:12:05 +00:00
Daniel Shahaf 383dc2a6f5 41558: _tmux: Complete option names for show-options and show-window-options. 2017-08-30 00:12:02 +00:00
Daniel Shahaf e2124c4719 41486: _tmux: Correct completions of new-window, split-window, respawn-window, respawn-pane.
This follows up to 41467 which patched new-session.
2017-08-08 13:52:04 +00:00
Daniel Shahaf f183ed66c8 41467: Correct completion of 'tmux new <TAB>'.
Reference: window_pane_spawn() in tmux 2.5.

Also, document _cmdstring and _precommand.
2017-07-28 15:49:14 +00:00
Oliver Kiddle 929fa17a2f unposted: complete 'tiled' layout for tmux 2017-03-04 01:13:43 +01:00
Oliver Kiddle 496626ddb8 39888: update tmux completion for tmux 2.3 2016-11-09 16:55:14 +01:00
Frank Terbeck 06bd2b1c85 39849: _tmux: Remove set-remain-on exit
This was removed recently, since it was superseded by hooks.
2016-11-07 00:04:07 +01:00
Frank Terbeck c2649189cb 39848: _tmux: Update options to latest tmux 2016-11-06 23:18:28 +01:00
Daniel Shahaf 00210c09db 39311: _tmux-capture-pane: Tweak specifications of -S/-E and description strings. 2016-09-16 03:46:18 +00:00
Oliver Kiddle 580698bc71 39067: update options to correspond to latest versions of software in various functions 2016-08-19 18:00:07 +02:00
Frank Terbeck 5deb57714f 38161: _tmux: Use a colon to terminate options to _arguments itself
In users/21384 it was reported that

  % tmux new-session -<tab>

...does not offer -A as a candidate for completion even though the
option is listed in the involved helper function _tmux-new-session().

-A is actually an option the _arguments function uses itself. The
documentation states:

    To avoid ambiguity, all options to _arguments itself may
    be separated from the spec forms by a single colon.

This commit changes each _arguments call to include the optional
colon, so problems like this are prevented now and hopefully in
the future.
2016-03-16 00:38:37 +01:00
Daniel Shahaf c563f1ba83 37164: _tmux: Complete external commands 2015-11-20 03:39:52 +00:00
Frank Terbeck 5476e011f1 36576: _tmux: Fix tmux homepage URI 2015-09-21 14:56:50 +02:00
Frank Terbeck d4a640775f 36575: _tmux: ‘lock-server’ option is gone in tmux.git 2015-09-21 14:56:50 +02:00
Daniel Hahler 5f8a18a561 unposted: fix minor typos 2015-08-14 02:35:32 +02:00
Frank Terbeck 8d849b9caf 36069: _tmux: Fix \ooo display in completion list 2015-08-10 16:50:55 +02:00
Frank Terbeck 5d10851b73 36070: _tmux: Update bell-action and prefix options 2015-08-10 16:50:55 +02:00
Frank Terbeck b6d44f6c63 36060: _tmux: Update TODO 2015-08-10 16:50:54 +02:00
Frank Terbeck e3df5dff86 36061: _tmux: Add support for new window options 2015-08-10 16:50:54 +02:00
Frank Terbeck 5c19edb44b 36055: _tmux: Add support for new server options 2015-08-10 16:50:54 +02:00
Frank Terbeck 5fc821cbbd 36059: _tmux: Add new session options 2015-08-10 16:50:53 +02:00
Frank Terbeck 333df34d7b 36051: _tmux: Remove support for old options 2015-08-10 16:50:53 +02:00
Frank Terbeck 4dbc1af529 36047: _tmux: Fix options with changed scope 2015-08-10 16:50:53 +02:00
Frank Terbeck 761044e5c4 36064: _tmux: Add new command aliases 2015-08-10 16:50:52 +02:00
Frank Terbeck 61ba1a92fd 36052: _tmux: Remove old sub-commands and their aliases 2015-08-10 16:50:52 +02:00
Frank Terbeck 1afcae59e6 36049: _tmux: options => session_options 2015-08-10 16:50:52 +02:00
Frank Terbeck ad7ef9cf1f 36054: _tmux: "local -x" serves no purpose 2015-08-10 16:50:51 +02:00
Frank Terbeck c7c15410b5 36057: _tmux: Replay all arguments when dispatching to new _tmux() 2015-08-10 16:50:51 +02:00
Frank Terbeck ca53f8a7ca 36058: _tmux: No need to unset local variables 2015-08-10 16:50:51 +02:00
Frank Terbeck ab234991b7 36050: _tmux: Don't unset, set empty in local scope 2015-08-10 16:50:50 +02:00
Frank Terbeck 75530dc965 36063: _tmux: Remove dead code 2015-08-10 16:50:50 +02:00
Frank Terbeck e2495da3c2 36062: _tmux: Add support for new sub-commands 2015-08-10 16:50:50 +02:00
Frank Terbeck 742f4da3d9 36048: _tmux: Update options for supported commands
This also adds a little TODO on top about what is missing.
2015-08-10 16:50:49 +02:00
Frank Terbeck 783ce79a11 36046: _tmux: Update command line options
New: -C and -V
Removed: -q (tmux still excepts it for backward compatibility, but it
         does nothing)
2015-08-10 16:50:49 +02:00
Oliver Kiddle 13fc579343 33467: correct return status on functions and numerous other minor fixes 2014-10-14 23:04:45 +02:00
Keerthan jai.c 341d443414 users/18981: improved tmux function completion 2014-07-23 21:13:49 +01:00
Peter Stephenson 338c70ff56 c.f 30482 (Peter Jaros): typo in description. 2012-05-21 16:31:11 +00:00