summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2015-07-15 11:46:42 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2015-07-15 11:46:42 -0400
commit28dbbb5f42c0880cd6ce1be33c7b0bb776b189de (patch)
tree53ae58659c425ad27ab8c505f607e374c649b260 /doc
parent489cc236b7372e3d7dc6e650768addd2741e0161 (diff)
update re builtin support
Diffstat (limited to 'doc')
-rw-r--r--doc/forum/bash_completion/comment_5_d45570fd750ae8d69dedc3edeef0cc10._comment15
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/forum/bash_completion/comment_5_d45570fd750ae8d69dedc3edeef0cc10._comment b/doc/forum/bash_completion/comment_5_d45570fd750ae8d69dedc3edeef0cc10._comment
new file mode 100644
index 000000000..050c81d2c
--- /dev/null
+++ b/doc/forum/bash_completion/comment_5_d45570fd750ae8d69dedc3edeef0cc10._comment
@@ -0,0 +1,15 @@
+[[!comment format=mdwn
+ username="joey"
+ subject="""comment 5"""
+ date="2015-07-15T15:44:11Z"
+ content="""
+I've recently added built-in bash completion to git-annex, which is output
+by the `--bash-completion-script` option. It knows about all sub-commands,
+and all options, and will automatically always be up-to-date with the
+argument parser!
+
+Currently, it only works for completing "git-annex", not "git annex".
+Supporting the latter would probably require some hacks to git's own bash
+completion code, or possibly a smart way to hook into it.. Help with that
+would be appreciated.
+"""]]