Go to file
Eyal Posener 8421068045 add readme 2017-05-06 00:33:21 +03:00
gocomplete Roughly add all go commands 2017-05-06 00:25:27 +03:00
tests Add additional args 2017-05-05 23:07:18 +03:00
command.go Roughly add all go commands 2017-05-06 00:25:27 +03:00
complete.go Roughly add all go commands 2017-05-06 00:25:27 +03:00
complete_test.go Add additional args 2017-05-05 23:07:18 +03:00
log.go Roughly add all go commands 2017-05-06 00:25:27 +03:00
option.go Roughly add all go commands 2017-05-06 00:25:27 +03:00
predicate.go Roughly add all go commands 2017-05-06 00:25:27 +03:00
readme.md add readme 2017-05-06 00:33:21 +03:00

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