From 36ae0d245f6103956cf3577afa403abc956f23e5 Mon Sep 17 00:00:00 2001 From: Christopher Vogt Date: Sun, 14 Aug 2016 17:59:05 -0400 Subject: let's not mess with bash settings, but document how to install --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'README.md') 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 +``` -- cgit v1.2.3