this is a work in progress, still considering other ways to implement things
Initially this bash completion is based on the one removed from the go repository.
Output of "go list all std" is stored inside an environment variable, so it's
on a per shell level. Having The _go_clear_cache
function clears the cache if
needed.
These are all the current alternatives I've found.
- deleted from go/misc/bash/go
- What this completion is based on. Has lot's of completion support.
- gihub.com/skelterjohn/go-pkg-complete/
- Implements completion of go packages only in pure bash. (Nice but not fully working for me 2015-06-10)
- github.com/omakoto/go-completion.bash
- Completion for top level
go
commands and flags - github.com/kura/go-bash-completion
- Completion of top level
go
commands and*.go
file patterns
- Completion of top level