diff options
| author | Matt Koscica <matt.koscica@gmail.com> | 2023-10-09 22:26:27 +0200 |
|---|---|---|
| committer | Oliver Kiddle <opk@zsh.org> | 2023-11-14 21:39:30 +0100 |
| commit | be223aedee772fc31e12ec8c5277f50aae25b0fe (patch) | |
| tree | 495117a530fe2f6b69cbdf5be76a2d5998ef1aba /Util | |
| parent | unposted (cf. 52167): mutt's -a takes a list of files terminated by -- (diff) | |
| download | zsh-be223aedee772fc31e12ec8c5277f50aae25b0fe.tar zsh-be223aedee772fc31e12ec8c5277f50aae25b0fe.tar.gz zsh-be223aedee772fc31e12ec8c5277f50aae25b0fe.tar.bz2 zsh-be223aedee772fc31e12ec8c5277f50aae25b0fe.tar.lz zsh-be223aedee772fc31e12ec8c5277f50aae25b0fe.tar.xz zsh-be223aedee772fc31e12ec8c5277f50aae25b0fe.tar.zst 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 'Util')
| -rwxr-xr-x | Util/check-tmux-state | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Util/check-tmux-state b/Util/check-tmux-state index d95e0c230..9772eefc1 100755 --- a/Util/check-tmux-state +++ b/Util/check-tmux-state @@ -59,7 +59,7 @@ __tmux-window-options # in the _tmux function definition file. typeset -a supported_commands supported_commands=( $( grep '^_tmux-[^(]*() *{$' $func | - sed -e 's,^.*\<_tmux-,,' -e 's,(.*$,,' ) ) + sed -e 's,^_tmux[-]\([a-z-]*\)[(].*,\1,' ) ) # Ask tmux for available commands: typeset -a available_commands |
