{"action":"closed","issue":{"url":"https://api.github.com/repos/golang/go/issues/11052","labels_url":"https://api.github.com/repos/golang/go/issues/11052/labels{/name}","comments_url":"https://api.github.com/repos/golang/go/issues/11052/comments","events_url":"https://api.github.com/repos/golang/go/issues/11052/events","html_url":"https://github.com/golang/go/issues/11052","id":84836431,"number":11052,"title":"release: Trouble with bash/zsh finding the GOPATH","user":{"login":"stuartweir","id":6570954,"avatar_url":"https://avatars.githubusercontent.com/u/6570954?v=3","gravatar_id":"","url":"https://api.github.com/users/stuartweir","html_url":"https://github.com/stuartweir","followers_url":"https://api.github.com/users/stuartweir/followers","following_url":"https://api.github.com/users/stuartweir/following{/other_user}","gists_url":"https://api.github.com/users/stuartweir/gists{/gist_id}","starred_url":"https://api.github.com/users/stuartweir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stuartweir/subscriptions","organizations_url":"https://api.github.com/users/stuartweir/orgs","repos_url":"https://api.github.com/users/stuartweir/repos","events_url":"https://api.github.com/users/stuartweir/events{/privacy}","received_events_url":"https://api.github.com/users/stuartweir/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/golang/go/labels/OS-Darwin","name":"OS-Darwin","color":"ededed"}],"state":"closed","locked":false,"assignee":{"login":"davecheney","id":7171,"avatar_url":"https://avatars.githubusercontent.com/u/7171?v=3","gravatar_id":"","url":"https://api.github.com/users/davecheney","html_url":"https://github.com/davecheney","followers_url":"https://api.github.com/users/davecheney/followers","following_url":"https://api.github.com/users/davecheney/following{/other_user}","gists_url":"https://api.github.com/users/davecheney/gists{/gist_id}","starred_url":"https://api.github.com/users/davecheney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davecheney/subscriptions","organizations_url":"https://api.github.com/users/davecheney/orgs","repos_url":"https://api.github.com/users/davecheney/repos","events_url":"https://api.github.com/users/davecheney/events{/privacy}","received_events_url":"https://api.github.com/users/davecheney/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/golang/go/milestones/2","html_url":"https://github.com/golang/go/milestones/Go1.5Maybe","labels_url":"https://api.github.com/repos/golang/go/milestones/2/labels","id":905114,"number":2,"title":"Go1.5Maybe","description":"Things that might make Go 1.5, but aren't critical.\r\n","creator":{"login":"bradfitz","id":2621,"avatar_url":"https://avatars.githubusercontent.com/u/2621?v=3","gravatar_id":"","url":"https://api.github.com/users/bradfitz","html_url":"https://github.com/bradfitz","followers_url":"https://api.github.com/users/bradfitz/followers","following_url":"https://api.github.com/users/bradfitz/following{/other_user}","gists_url":"https://api.github.com/users/bradfitz/gists{/gist_id}","starred_url":"https://api.github.com/users/bradfitz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bradfitz/subscriptions","organizations_url":"https://api.github.com/users/bradfitz/orgs","repos_url":"https://api.github.com/users/bradfitz/repos","events_url":"https://api.github.com/users/bradfitz/events{/privacy}","received_events_url":"https://api.github.com/users/bradfitz/received_events","type":"User","site_admin":false},"open_issues":130,"closed_issues":15,"state":"open","created_at":"2014-12-16T02:39:13Z","updated_at":"2015-06-08T10:11:57Z","due_on":"2015-07-31T04:00:00Z","closed_at":null},"comments":7,"created_at":"2015-06-04T00:39:11Z","updated_at":"2015-06-08T10:11:57Z","closed_at":"2015-06-08T10:11:57Z","body":"I just purchased a new MacBook Pro, and installed Go via the `go1.4.2.darwin-amd64-osx10.8.pkg` package on the downloads page. in my zshrc file, I have set the GOPATH and PATH as such:\r\n\r\n    # set Golang working directory\r\n    export GOPATH=/Users/Stuart/go\r\n    export PATH=$PATH:$GOPATH/bin\r\n\r\nhowever when I am in zsh (or bash) and I type `which go`, I do not get a PATH printout at all for bash, and I just get `go not found` if using zsh.\r\n\r\nWhen I check to see if `/etc/paths.d/` has a file named go, it does (which apparently means everything installed correct. What I don't understand is when I set the exact same working directory shown above on my old machine, it worked without a hitch.\r\n\r\nLastly, if I manually do an `export PATH=$PATH:/usr/local/go/bin` on the zsh/bash command line **and then** type `which go`, the PATH is set until I close the terminal window.\r\n\r\nIf you have any other questions, please feel free to ask! I want to get this solved :smile: \r\n\r\n-Stu."}}