From 0e905840340cf6d3da96e0bdc51488dbe9d1b814 Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Sat, 28 Dec 2013 17:16:21 +0100 Subject: Correction again --- .zsh/zshenv/80_go | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.zsh/zshenv/80_go b/.zsh/zshenv/80_go index fb35add..9da79e8 100644 --- a/.zsh/zshenv/80_go +++ b/.zsh/zshenv/80_go @@ -7,10 +7,13 @@ # # Source repository: git://git.distanz.ch/dotfiles/zsh.git -_GOROOT=$HOME/src/gospace/ +_GOROOT=/opt/local/go/ if [ -d $_GOROOT ] ; then + export GOROOT=$_GOROOT + export GOPATH=$HOME/src/gospace/ + arch="$(uname -m)" case "$arch" in x86_64) export GOARCH="amd64";; @@ -26,7 +29,7 @@ if [ -d $_GOROOT ] ; then *) export GOOS="unsupported";; esac - path_append $_GOROOT/bin + path_append $GOROOT/bin fi # vim:ft=zsh -- cgit v1.2.3-54-g00ecf