zsh-users
 help / color / mirror / code / Atom feed
From: Axel Beckert <abe@deuxchevaux.org>
To: zsh-users@zsh.org
Subject: Re: How to set up completion for git aliases?
Date: Tue, 17 Jul 2012 21:20:32 +0200	[thread overview]
Message-ID: <20120717192031.GU30122@sym.noone.org> (raw)
In-Reply-To: <E1SnJGJ-00060Z-Qp@smtp.tt-solutions.com>

Hi again,

On Sat, Jul 07, 2012 at 02:51:50AM +0200, Vadim Zeitlin wrote:
> FT> You don't need to do anything, unless you're on a quite old version of
> FT> zsh.
> 
>  Sorry, I should have mentioned that I use (quite old) 4.3.10 (from Debian
> Squeeze).
> 
> FT> I don't remember when the feature was added exactly, but any release
> FT> within the last year should be new enough.
> 
>  I tried grabbing just the latest _git but it fails with
> 
> _arguments:comparguments:312: invalid argument: (-v          --header)
> 
> error so it looks like I'd have to install a new zsh version locally.

Hrm, in my case git tab completion works fine with aliases on Debian
Squeeze, too. E.g. with dc="diff --cached", git dc --<Tab> works as
expected as well as "git dc -- <Tab>" does.

Not sure how much of it comes from grml's zshrc (ft may be able to
tell :-), but it's definitely doable with zsh 4.3.10 from Squeeze. :-)

		Kind regards, Axel
-- 
/~\  Plain Text Ribbon Campaign                   | Axel Beckert
\ /  Say No to HTML in E-Mail and News            | abe@deuxchevaux.org  (Mail)
 X   See http://www.asciiribbon.org/              | abe@noone.org (Mail+Jabber)
/ \  I love long mails: http://email.is-not-s.ms/ | http://noone.org/abe/ (Web)


  reply	other threads:[~2012-07-17 19:26 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-06 17:04 Vadim Zeitlin
2012-07-06 17:56 ` Axel Beckert
2012-07-06 23:02 ` Frank Terbeck
2012-07-07  0:52   ` Re[2]: " Vadim Zeitlin
2012-07-17 19:20     ` Axel Beckert [this message]
2012-07-17 19:54       ` Frank Terbeck
2012-11-01  0:01   ` Re[2]: " Vadim Zeitlin
2012-11-01  4:46     ` Benjamin R. Haskell

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=20120717192031.GU30122@sym.noone.org \
    --to=abe@deuxchevaux.org \
    --cc=zsh-users@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).