summaryrefslogtreecommitdiff
path: root/doc/git-annex.mdwn
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2015-07-16 13:32:23 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2015-07-16 13:32:23 -0400
commit94c8afbfec3c47132b106eb98bbf59defeef449f (patch)
treec0f4169419256e07992db001633c412f85ffc46d /doc/git-annex.mdwn
parentfe70e063d020dcc9d74edae7b7e3b3db2b089c66 (diff)
got bash completion working for "git annex" not just "git-annex"
This needs a patch to git to cause the git-annex completion to be auto-loaded when completing "git annex <tab>". Otherwise, it will only load when "git-annex" is tab completed. Once loaded, it works for both uses. I've submitted the git patch to the git mailing list.
Diffstat (limited to 'doc/git-annex.mdwn')
-rw-r--r--doc/git-annex.mdwn12
1 files changed, 0 insertions, 12 deletions
diff --git a/doc/git-annex.mdwn b/doc/git-annex.mdwn
index 5cbab5978..73894c0d8 100644
--- a/doc/git-annex.mdwn
+++ b/doc/git-annex.mdwn
@@ -763,18 +763,6 @@ 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 bash 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`.