summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEyal Posener <[email protected]>2017-05-06 00:33:21 +0300
committerEyal Posener <[email protected]>2017-05-06 00:33:21 +0300
commit84210680452a87de1bcb62ea45241a0ebea991b2 (patch)
tree7b9fc6b60f78f213cbe7e2ea9f45dc6fc70599aa
parent1af7c0b3b7bc0e4bf5605be7e02154a8876cba84 (diff)
add readme
-rw-r--r--readme.md21
1 files changed, 21 insertions, 0 deletions
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
+```
+