summaryrefslogtreecommitdiff
path: root/.zsh
diff options
context:
space:
mode:
Diffstat (limited to '.zsh')
-rw-r--r--.zsh/zshenv/80_go3
1 files changed, 1 insertions, 2 deletions
diff --git a/.zsh/zshenv/80_go b/.zsh/zshenv/80_go
index b245430..49df466 100644
--- a/.zsh/zshenv/80_go
+++ b/.zsh/zshenv/80_go
@@ -16,14 +16,13 @@ if [ -d $_GOROOT ] ; then
case "$arch" in
x86_64) export GOARCH="amd64";;
i*86) export GOARCH="386";;
- *) export GOARCH="unsupported";;
+ arm64) export GOARCH="arm64";;
esac
os="$(uname)"
case "$os" in
Linux) export GOOS="linux";;
Darwin) export GOOS="darwin";;
- *) export GOOS="unsupported";;
esac
path_prepend $_GOROOT/bin