1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-12-28 16:15:02 +01:00
Commit graph

5 commits

Author SHA1 Message Date
Matt Koscica
be223aedee 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
2023-11-14 21:39:30 +01:00
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
Frank Terbeck
02fe884a11 39847: Update helper function name pattern
In 580698bc71, Oliver updated a whole bunch of options in a number of
completions. While at it, he also changed a bit of coding style, to
better adhere to Etc/zsh-development-guide — among those changes is to
convert "function foobar() {" function definitions to "foobar() {".

This broke Util/check-tmux-state so that it couldn't detect any
supported tmux sub-commands within _tmux anymore. This updates the
regular expression that is used in the script to match and list these
function definitions.
2016-11-06 23:18:28 +01:00
Frank Terbeck
c6136b94f3 36075: Disable ‘local’ keyword in script to make data retrieval work 2015-08-10 17:53:44 +02:00
Frank Terbeck
8208f5f8ed 36056: Add helper script to check state of _tmux completion 2015-08-10 16:50:52 +02:00