moovweb / gvm

Go Version Manager
http://github.com/moovweb/gvm
MIT License
9.91k stars 522 forks source link

Command Completion by Default #345

Open ziehmon opened 4 years ago

ziehmon commented 4 years ago

Hi all,

I've noticed that gvm-installer will not add the gvm completion script (scripts/completion) to .bashrc / .zshrc / .profile.

Is this intended behavior or am I overseeing something?

Cheers Simon

ziehmon commented 4 years ago

I've had to add it by using

[[ -s "/home/user/.gvm/scripts/completion" ]] && source "/home/user/.gvm/scripts/completion"

sp-magicspells commented 4 years ago

I've also faced the same issue for Zsh. Is this project accepting new PRs? If yes I can make take up this fix.