From fad9f4f28a90cb744d6d76b3e2e4019572711ee4 Mon Sep 17 00:00:00 2001 From: Leonid Volnitsky Date: Wed, 17 Mar 2010 22:09:07 +0200 Subject: -- completion docs/cleanup --- index.txt | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to 'index.txt') diff --git a/index.txt b/index.txt index b810288..a0c3b84 100644 --- a/index.txt +++ b/index.txt @@ -72,7 +72,7 @@ to directories you once visited. Git-prompt have builtin, simplified autojump. It is only about 10 lines of code (vs original 100+ LOC), there is no database. It remembers only directories from current session. It selects not most frequent dir, but last visited. Matches are done from beginning of of -dir name. +dir name (not path name). ----------------- cd /tmp @@ -87,6 +87,16 @@ j .*3 # same as cd "~/long dir mp3" ------------- +== Bash Completion + +Completion can be done for git subcommands, branches and remotes: + +--------------------- +git ch # expands to git checkout +git checkout ma # expands to git checkout master +-------------------- + + == Install Download link:git-prompt.sh[] or get it with GIT: @@ -174,11 +184,12 @@ time consuming ops in postconfig which is executed only once. == Authors - Leonid Volnitsky (original author) , http://volnitsky.com - Niklas Hofer (CWD truncation) , httpx://github.com/niklas/[] -- Lee Nussbaum (HG support) lee.nussbaum AT gmail.com, httpx://github.com/wln[] +- Lee Nussbaum (HG support) , httpx://github.com/wln[] - Albert Vernon http://xenoclub.wordpress.com[] - Amir Yalon httpx://github.com/amiryal[] - Martin httpx://github.com/jerrywho[] - Alexander Goldstein (emacs-shell, prompt chars) httpx://github.com/alexg0[] +- Dmitry (bash completion) [bibliography] -- cgit v1.2.3