From 94642d1b1907a379181e25e298910b9c09fd5adf Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Fri, 10 Jul 2015 13:49:37 -0400 Subject: doc updates --- doc/git-annex.mdwn | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'doc') diff --git a/doc/git-annex.mdwn b/doc/git-annex.mdwn index 73894c0d8..e3790bdf9 100644 --- a/doc/git-annex.mdwn +++ b/doc/git-annex.mdwn @@ -763,6 +763,18 @@ may not be explicitly listed on their individual man pages. Overrides git configuration settings. May be specified multiple times. +# COMMAND-LINE TAB COMPLETION + +To enable bash completion, paste this into your shell prompt: + + source <(git-annex --bash-completion-script git-annex) + +The output of "git-annex --bash-completion-script git-annex" can also +be written to a bash completion file so bach loads it automatically. + +This bash completion is generated by the option parser, so it covers all +commands, all options, and will never go out of date! + # CONFIGURATION VIA .git/config Like other git commands, git-annex is configured via `.git/config`. -- cgit v1.2.3