Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: How to set up completion for git aliases?
- X-seq: zsh-users 17178
- From: Axel Beckert <abe@xxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Re: How to set up completion for git aliases?
- Date: Tue, 17 Jul 2012 21:20:32 +0200
- Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAAAAAC3mUtaAAAABGdBTUEAALGPC/xhBQAAADh0RVh0U29mdHdhcmUAWFYgVmVyc2lvbiAzLjEwYSAgUmV2OiAxMi8yOS85NCAoUE5HIHBhdGNoIDEuMindFS5JAAACGElEQVQ4jXXQMU8UYRDG8f8shNjdDH4AbpfGDjAWlKiJiZ0ajL1aGCvsNCbGaCGG1koLaztaTYz6ATy+gOyehYmF3MxVxgg3FnDsHcTpJr/M+8w7Rf6nCsaVTTDqxbg9hoOXmw83H71+Eyfg4E1d7/Z2fG9rGkZbTQiu+K+3U/C+76lmkvAhJuDndnoAiftou4V84okAGclop4U/jYACZDTxrYWP0gkxVfAm/W//GLZpxIzwIN0Hn8dw0B+IWkZmQmRsj2HfhwokEklHfNCCiQCRgAR7YyhQVRVTCKCzP4Y5zBBE0t0zY3Q8oQaBqqAMlVEcgVQd9706zGirAFium8HXumlMIeMwqQCInju+2+uB6MRENupdpMt8pRlHZyuAW0F+Mb6XSIVqtxjD+iVmVqqystLEzFTGT92YqRaXpNT5eTVjeJhbALPnrTxLUZUKZsgxcNm64hAOYisT/xhF+oKTGU5RegtC3Rt6eEDi/QnIevdTx9Md2EMmYBRmCQR1026FCGQQJJExsRUqgkMGaWSbwYLnoO4T6VgpbQbdELPMBAHWWrhYrcxXnYgAsatPWygkFCBD4K62MAsOTqA6szYRPpsu6e6Y8mPiVrBMNuGIMrgwBUu4p2DgG1Ownu6hpuTv7hScefHAzAC/yRRw5U5pALMbJ4AUALvHSZhxgHPXTsHcdWD1GadAHr9avP+c0wCr7263Df8ASLwXWHWs+KIAAAAHdElNRQfYBQEBODPr
- In-reply-to: <E1SnJGJ-00060Z-Qp@smtp.tt-solutions.com>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mail-followup-to: zsh-users@xxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- Organization: DeuxChevaux.org -- The Citroën 2CV Database
- References: <E1SnBxn-0001Wd-Kh@smtp.tt-solutions.com> <87liiwtrvw.fsf@ft.bewatermyfriend.org> <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@xxxxxxxxxxxxxxx (Mail)
X See http://www.asciiribbon.org/ | abe@xxxxxxxxx (Mail+Jabber)
/ \ I love long mails: http://email.is-not-s.ms/ | http://noone.org/abe/ (Web)
Messages sorted by:
Reverse Date,
Date,
Thread,
Author