git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
From: Ingo Molnar <mingo@elte.hu>
To: Linus Torvalds <torvalds@osdl.org>
Cc: Petr Baudis <pasky@ucw.cz>, Greg KH <greg@kroah.com>,
	git@vger.kernel.org
Subject: Re: [ANNOUNCE] git-pasky-0.6.2 && heads-up on upcoming changes
Date: Thu, 21 Apr 2005 09:49:08 +0200	[thread overview]
Message-ID: <20050421074908.GA1376@elte.hu> (raw)
In-Reply-To: <Pine.LNX.4.58.0504201503050.6467@ppc970.osdl.org>


* Linus Torvalds <torvalds@osdl.org> wrote:

> Yeah, yeah, it looks different from "cvs update", but dammit, wouldn't 
> it be cool to just write "cg-<tab><tab>" and see the command choices?  
> Or "cg-up<tab>" and get cg-update done for you..

add this line to your ~/.bashrc:

 complete -W "add addremote apply cancel ci commit diff export fork help init log ls lsobj lsremote merge pull rm seek status tag track version" git

and you'll get all the argument completions, after "git " (it works on 
arguments, after the space). (you can even customize it to list only the 
ones you typically use, to make the completion faster) This first showed 
up in zsh but now bash knows it too. (see 'Programmable Completions' in 
man bash)

	Ingo

  parent reply	other threads:[~2005-04-21  7:50 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-20 20:56 [ANNOUNCE] git-pasky-0.6.2 && heads-up on upcoming changes Petr Baudis
2005-04-20 21:03 ` Petr Baudis
2005-04-20 21:19 ` Greg KH
2005-04-20 21:51   ` Mike Taht
2005-04-20 21:58     ` Joshua T. Corbin
2005-04-20 21:51   ` Petr Baudis
2005-04-20 21:54     ` Randy.Dunlap
2005-04-20 22:07       ` Steven Cole
2005-04-20 22:09     ` Linus Torvalds
2005-04-20 22:28       ` Petr Baudis
2005-04-20 23:04         ` Greg KH
2005-04-21  0:14         ` Linus Torvalds
2005-04-21  1:12           ` Linus Torvalds
2005-04-21  3:35             ` Daniel Jacobowitz
2005-04-21  2:45               ` Sean
2005-04-21  4:00               ` Linus Torvalds
2005-04-21  4:22                 ` Dave Jones
2005-04-21  5:08                   ` Junio C Hamano
2005-04-21  4:28                 ` Daniel Jacobowitz
2005-04-21  6:49                   ` Petr Baudis
2005-04-21 14:21                     ` Edgar Toernig
2005-04-21 16:42                       ` Petr Baudis
2005-04-24  0:09                     ` Paul Jackson
2005-04-21  5:14                 ` Randy.Dunlap
2005-04-21  4:27                   ` Sean
2005-04-21  5:29             ` Greg KH
2005-04-24  0:12             ` Paul Jackson
2005-04-21  2:48       ` Matthias Urlichs
2005-04-21 18:15         ` Removing command dispatcher (was Re: [ANNOUNCE] git-pasky-0.6.2 && heads-up on upcoming changes) David A. Wheeler
2005-04-21  7:49       ` Ingo Molnar [this message]
2005-04-25 11:27       ` [ANNOUNCE] git-pasky-0.6.2 && heads-up on upcoming changes Andrew Morton
2005-04-21  2:53 ` Bryan Donlan
2005-04-21  7:36   ` Petr Baudis

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

  List information: http://vger.kernel.org/majordomo-info.html

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050421074908.GA1376@elte.hu \
    --to=mingo@elte.hu \
    --cc=git@vger.kernel.org \
    --cc=greg@kroah.com \
    --cc=pasky@ucw.cz \
    --cc=torvalds@osdl.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://80x24.org/mirrors/git.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).