zsh-workers
 help / color / mirror / code / Atom feed
* [PATCH 00/18] Updates for _tmux
@ 2015-08-10 13:27 Frank Terbeck
  2015-08-10 13:27 ` [PATCH 01/18] _tmux: Update command line options Frank Terbeck
                   ` (19 more replies)
  0 siblings, 20 replies; 25+ messages in thread
From: Frank Terbeck @ 2015-08-10 13:27 UTC (permalink / raw)
  To: zsh-workers

I've recently been playing for some integration between zsh and tmux in my
setup and noticed that our completion function _tmux had become a bit out of
date.

So I started updating it again. After a while I got tired of manually checking
what options and commands are available in tmux and what options and commands
_tmux think there are... so I wrote a little script (see the "Add helper
script..." commit that adds Utils/check-tmux-state). It doesn't parse tmux's
manpage to see if all sub-command options are covered correctly, but it was
very useful nonetheless.

This updates the completion file to tmux's current git HEAD.

The current TODO as far as I am aware is:

 - Implement __tmux-format

 - Implement __tmux-style (possibly using existing helpers like
   __tmux-attributes and __tmux-colours)

 - in _tmux-list-panes, use __tmux-windows or __tmux-sessions
   depending on -s is among the sub-commands current command line.

If anyone wants to pick off one of those, be my guest. :-)

Since this is a fairly large update: Should I wait until 5.0.9 is out or do I
go ahead and commit it right away? Bear in mind that the completion was quite
out of date, but also that this is a rather large update... So I don't know.


Frank Terbeck (18):
  _tmux: Update command line options
  _tmux: Update options for supported commands
  _tmux: Add support for new sub-commands
  _tmux: Remove dead code
  _tmux: Don't unset, set empty in local scope
  _tmux: No need to unset local variables
  _tmux: Replay all arguments when dispatching to new _tmux()
  _tmux: "local -x" serves no purpose
  _tmux: options => session_options
  Add helper script to check state of _tmux completion
  _tmux: Remove old sub-commands and their aliases
  _tmux: Add new command aliases
  _tmux: Fix options with changed scope
  _tmux: Remove support for old options
  _tmux: Add new session options
  _tmux: Add support for new server options
  _tmux: Add support for new window options
  _tmux: Update TODO

 Completion/Unix/Command/_tmux | 660 +++++++++++++++++++++++-------------------
 Util/check-tmux-state         | 216 ++++++++++++++
 2 files changed, 585 insertions(+), 291 deletions(-)
 create mode 100644 Util/check-tmux-state

-- 
2.1.4


^ permalink raw reply	[flat|nested] 25+ messages in thread

end of thread, other threads:[~2015-08-10 15:50 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-10 13:27 [PATCH 00/18] Updates for _tmux Frank Terbeck
2015-08-10 13:27 ` [PATCH 01/18] _tmux: Update command line options Frank Terbeck
2015-08-10 13:27 ` [PATCH 02/18] _tmux: Update options for supported commands Frank Terbeck
2015-08-10 13:27 ` [PATCH 03/18] _tmux: Add support for new sub-commands Frank Terbeck
2015-08-10 13:27 ` [PATCH 04/18] _tmux: Remove dead code Frank Terbeck
2015-08-10 13:27 ` [PATCH 05/18] _tmux: Don't unset, set empty in local scope Frank Terbeck
2015-08-10 13:27 ` [PATCH 06/18] _tmux: No need to unset local variables Frank Terbeck
2015-08-10 13:27 ` [PATCH 07/18] _tmux: Replay all arguments when dispatching to new _tmux() Frank Terbeck
2015-08-10 13:27 ` [PATCH 08/18] _tmux: "local -x" serves no purpose Frank Terbeck
2015-08-10 13:27 ` [PATCH 09/18] _tmux: options => session_options Frank Terbeck
2015-08-10 13:27 ` [PATCH 10/18] Add helper script to check state of _tmux completion Frank Terbeck
2015-08-10 15:20   ` wrapping "local" (was: Re: [PATCH 10/18] Add helper script to check state of _tmux completion) Frank Terbeck
2015-08-10 15:32     ` Peter Stephenson
2015-08-10 15:50       ` [PATCH] Disable ‘local’ keyword in script to make data retrieval work Frank Terbeck
2015-08-10 13:27 ` [PATCH 11/18] _tmux: Remove old sub-commands and their aliases Frank Terbeck
2015-08-10 13:27 ` [PATCH 12/18] _tmux: Add new command aliases Frank Terbeck
2015-08-10 13:27 ` [PATCH 13/18] _tmux: Fix options with changed scope Frank Terbeck
2015-08-10 13:27 ` [PATCH 14/18] _tmux: Remove support for old options Frank Terbeck
2015-08-10 13:27 ` [PATCH 15/18] _tmux: Add new session options Frank Terbeck
2015-08-10 13:27 ` [PATCH 16/18] _tmux: Add support for new server options Frank Terbeck
2015-08-10 13:27 ` [PATCH 17/18] _tmux: Add support for new window options Frank Terbeck
2015-08-10 13:27 ` [PATCH 18/18] _tmux: Update TODO Frank Terbeck
2015-08-10 13:52 ` [PATCH 00/18] Updates for _tmux Peter Stephenson
2015-08-10 14:46 ` [PATCH 19/18] _tmux: Update bell-action and prefix options Frank Terbeck
2015-08-10 14:46   ` [PATCH 20/18] _tmux: Fix \ooo display in completion list Frank Terbeck

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).