aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorChristopher Vogt <oss.nsp@cvogt.org>2016-08-14 17:59:05 -0400
committerChristopher Vogt <oss.nsp@cvogt.org>2016-08-28 23:38:05 -0400
commit36ae0d245f6103956cf3577afa403abc956f23e5 (patch)
treeb6c4d8b65b5bd5921fb49678eb696b1a1b24db02 /README.md
parent1114a970940633d8cfb7b018ce4d71dc1544b5e5 (diff)
downloadcbt-36ae0d245f6103956cf3577afa403abc956f23e5.tar.gz
cbt-36ae0d245f6103956cf3577afa403abc956f23e5.tar.bz2
cbt-36ae0d245f6103956cf3577afa403abc956f23e5.zip
let's not mess with bash settings, but document how to install
Diffstat (limited to 'README.md')
-rw-r--r--README.md16
1 files changed, 16 insertions, 0 deletions
diff --git a/README.md b/README.md
index 7a1174e..2f2134b 100644
--- a/README.md
+++ b/README.md
@@ -176,3 +176,19 @@ solution could be code generating traits at build-time and mixing them
in ad-hoc. It's a build-tool after all. Build-time code-generation and
class loading is not rocket science. But there may be simpler solutions
for the cases at hand. And they are edge cases anyways.
+
+Bash completions
+----------------
+To auto-complete cbt task names in bash do this:
+
+```
+mkdir ~/.bash_completion.d/
+cp shell-integration/cbt-completions.bash ~/.bash_completion.d/
+```
+
+Add this to you .bashrc
+```
+for f in ~/.bash_completion.d/*; do
+ source $f
+done
+```