From 84210680452a87de1bcb62ea45241a0ebea991b2 Mon Sep 17 00:00:00 2001 From: Eyal Posener Date: Sat, 6 May 2017 00:33:21 +0300 Subject: [PATCH] add readme --- readme.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 readme.md diff --git a/readme.md b/readme.md new file mode 100644 index 0000000..64eee1c --- /dev/null +++ b/readme.md @@ -0,0 +1,21 @@ +# complete + +WIP + +a tool for bash writing bash completion in go. + +## example: `go` command bash completion + +Install in you home directory: + +``` +go build -o ~/.bash_completion/go ./gocomplete +echo "complete -C ~/.bash_completion/go go" >> ~/.bashrc +``` + +Or, install in the root directory: + +``` +sudo go build -o /etc/bash_completion.d/go ./gocomplete +``` +