summaryrefslogtreecommitdiff
path: root/.gitignore
diff options
context:
space:
mode:
authorJason Hutchinson <zikes@zikes.me>2017-04-07 07:17:32 +0300
committerGitHub <noreply@github.com>2017-04-07 07:17:32 +0300
commitf140104e4a6cbe419f957c761884d279dbcfeb8a (patch)
treeb0635b729c9422f5bf8e880dc1c61c32d71cdc91 /.gitignore
parent5a1d9ddb6494d4f8eddc24490dde191a1f06088a (diff)
only show go_version segment if inside GOPATH
As of Go v1.8 GOPATH need not be set, as it will default to $HOME/go. By using `go env GOPATH` to retrieve the value first, this technique will work regardless of whether GOPATH is currently set by the user.
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions