-
Notifications
You must be signed in to change notification settings - Fork 18k
cmd/go: GOROOT issue using fish shell #21298
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Labels
Comments
Notice: I did a workaround to make my environment work(I have created a symbolic link to my |
If go env reports the incorrect GOROOT value then fish is not exporting the
correct value of GOROOT. It's probably not working for GOPATH, but the
default value for GOPATH is the same as the one you're setting, so you
can't see that it didn't work.
…On Fri, Aug 4, 2017 at 6:39 AM, Walter Alves ***@***.***> wrote:
Notice: I did a workaround to make my environment work(I have created a
symbolic link to my GOROOT in the /usr/local folder.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#21298 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAAcA1Iqqs5__ith3hpXI7xD5u7JRUg4ks5sUjASgaJpZM4Os9UK>
.
|
You are not using Use |
Closing based on @zegl 's comment. |
Thank you @zegl |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
go version
)?go version go1.8.3 linux/amd64
What operating system and processor architecture are you using (
go env
)?What did you do?
I'm using fish shell and the
GOROOT
is seted in myconfig.fish
fileI have verified if
GOROOT
is defined correctly, as you can see belowI have a similar configuration in my
.bashrc
, as you can see belowWhat did you expect to see?
When I am in bash shell, and a run
go env
, everything looks goodWhat did you see instead?
But, when I am in the fish shell, my
GOROOT
isn't updated correctly, but the GOPATH isThere some way to fix it in my fish environment?
The text was updated successfully, but these errors were encountered: