From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11959 invoked by alias); 10 Aug 2015 13:35:03 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 36053 Received: (qmail 24965 invoked from network); 10 Aug 2015 13:35:02 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS autolearn=ham autolearn_force=no version=3.4.0 From: Frank Terbeck To: zsh-workers@zsh.org Subject: [PATCH 00/18] Updates for _tmux Date: Mon, 10 Aug 2015 15:27:20 +0200 Message-Id: <1439213258-14196-1-git-send-email-ft@bewatermyfriend.org> X-Mailer: git-send-email 2.1.4 X-Df-Sender: NDMwNDQ0 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