From: Alexandre Rames <alexandre@uop.re>
To: "zsh-workers@zsh.org" <zsh-workers@zsh.org>
Subject: Completion for stgit squash subcommand
Date: Wed, 22 Mar 2017 16:32:36 +0000 [thread overview]
Message-ID: <CALN_81asm8SgbmO6DQGknZaxoaSg+zes-Dn3ppD4RVNAS8X=uQ@mail.gmail.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 119 bytes --]
Hi there,
Here is a patch to add completion for the stgit squash command. It is
trivial, but oh so useful!
Alexandre
[-- Attachment #1.2: Type: text/html, Size: 188 bytes --]
[-- Attachment #2: zsh.stgit.squash.completion.patch --]
[-- Type: application/octet-stream, Size: 748 bytes --]
commit c21d5a11e75f26a194dff0725176f3a9e21c1993
Author: Alexandre Rames <alexandre@uop.re>
Date: Tue Mar 21 13:34:41 2017 -0700
Add completion for the `stgit` `squash` subcommand.
diff --git a/Completion/Unix/Command/_stgit b/Completion/Unix/Command/_stgit
index f313f65..f05591b 100644
--- a/Completion/Unix/Command/_stgit
+++ b/Completion/Unix/Command/_stgit
@@ -27,7 +27,7 @@ else
compadd ${${(M)${(f)"$(stg series 2> /dev/null)"}##[+>] *}#[+>] } \
&& ret=0
;;
- (edit|files|goto|rename|log|float|delete|sink|mail|sync|show|pick|hide)
+ (edit|files|goto|rename|log|float|delete|sink|mail|sync|show|pick|hide|squash)
_wanted -V "patches" expl "patch" \
compadd $(stg series --noprefix 2> /dev/null) \
&& ret=0
next reply other threads:[~2017-03-22 16:32 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-22 16:32 Alexandre Rames [this message]
2017-03-24 16:23 ` Request for review: " Alexandre Rames
2017-03-24 16:36 ` Peter Stephenson
2017-03-28 2:15 ` Alexandre Rames
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CALN_81asm8SgbmO6DQGknZaxoaSg+zes-Dn3ppD4RVNAS8X=uQ@mail.gmail.com' \
--to=alexandre@uop.re \
--cc=zsh-workers@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).