87dada1ec4 | ||
---|---|---|
gocomplete | ||
tests | ||
.gitignore | ||
.travis.yml | ||
command.go | ||
complete.go | ||
complete_test.go | ||
go.test.sh | ||
log.go | ||
option.go | ||
predicate.go | ||
readme.md |
readme.md
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