add readme

This commit is contained in:
Eyal Posener 2017-05-06 00:33:21 +03:00
parent 1af7c0b3b7
commit 8421068045
1 changed files with 21 additions and 0 deletions

21
readme.md Normal file
View File

@ -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
```