#!/bin/sh
export GOENV_ROOT="/usr/local/share/go/goenv"
export PATH="/usr/local/share/go/goenv/shims:${PATH}"
export GOENV_SHELL=bash
source '/usr/local/share/go/goenv/libexec/../completions/goenv.bash'
command goenv rehash 2>/dev/null
goenv() {
local command
command="$1"
if [ "$#" -gt 0 ]; then
shift
fi
case "$command" in
rehash|shell)
eval "$(goenv "sh-$command" "$@")";;
*)
command goenv "$command" "$@";;
esac
}