Thread (32 messages) flat view 32 messages, 17 authors, 2016-06-15

Re: [ANNOUNCE] git-pasky-0.6.2 && heads-up on upcoming changes

From: Ingo Molnar <hidden>
Date: 2016-06-15 22:41:53

* Linus Torvalds [off-list ref] 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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help