Hi fellow gophers, I've managed to make go commands autocomplete the way I wanted to and figured someone here might be interested.
- the way the go commands autocomplete frustrates me (mainly : it autocompletes to all files and directories, segment by segment, when usually expecting a package import path) - I run all my go commands from my $GOPATH If you're in the same situation, here are a few lines that you can add to your .bashrc : https://gist.github.com/lleveque/d915f491baff7e5fa45e206b9b3e61c0 Before, to test my package youpi.com/youpa/youpo, I had to type : go test src/y<tab><tab><tab> Now, I can type : go test y<tab> The script is quick and dirty, but does the job for me. Feel free to use it as is or improve it ! :) Laurent -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.