Hey there! I'm a newbie to gvm, wanna get some help ❤️
I installed go1.3 with gvm install go1.3 --binary, then when I want to activate my environment, it always requires me to install two packages, blocking the input:
08:13 $ gvm use go1.3
Now using version go1.3
Install package 'git-core' to provide command 'git'? [N/y] Install package 'autojump' to provide command 'autojump'? [N/y]
# I can't input anything.
Maybe there are some conflict in my bashrc, cause when I start from a clean bash, gvm just works file.
bash-5.0$ [[ -s "/home/ofey/.gvm/scripts/gvm" ]] && source "/home/ofey/.gvm/scripts/gvm"
bash-5.0$ gvm use go1.3
Now using version go1.3
bash-5.0$ go version
go version go1.3 linux/amd64
Then I can input, but it just keeps bursting some error messages. Besides, some builtin commands like grep is lost.(Cause my $PATH is gone?)
[ofey@RX93 dotfiles]$ gvm use go1.3
Now using version go1.3
[ofey@RX93 dotfiles]$ Install package 'autojump' to provide command 'autojump'? [N/y]
[ofey@RX93 dotfiles]$ Install package 'autojump' to provide command 'autojump'? [N/y]
grep
bash: grep: command not found...
Install package 'grep' to provide command 'grep'? [N/y] n
[ble: exit 127]
[ofey@RX93 dotfiles]$ Install package 'autojump' to provide command 'autojump'? [N/y]
[ofey@RX93 dotfiles]$ Install package 'autojump' to provide command 'autojump'? [N/y]
echo $PATH
/home/ofey/.gvm/pkgsets/go1.3/global/bin:/home/ofey/.gvm/gos/go1.3/bin:/home/ofey/.gvm/pkgsets/go1.3/global/overlay/bin:/home/ofey/.gvm/bin:/home/ofey/.gvm/bin:Error: : is not a valid task number!
[ofey@RX93 dotfiles]$ Install package 'autojump' to provide command 'autojump'? [N/y]
Hey there! I'm a newbie to
gvm
, wanna get some help ❤️I installed go1.3 with
gvm install go1.3 --binary
, then when I want to activate my environment, it always requires me to install two packages, blocking the input:Maybe there are some conflict in my
bashrc
, cause when I start from a clean bash,gvm
just works file.Here is my bashrc.
I commented two suspicious line:
Then I can input, but it just keeps bursting some error messages. Besides, some builtin commands like
grep
is lost.(Cause my$PATH
is gone?)Thank you for your attention! ⭐