diff --git a/internal/base.zsh b/internal/base.zsh index 00c164a..30eb49b 100644 --- a/internal/base.zsh +++ b/internal/base.zsh @@ -3,14 +3,14 @@ function goenv::internal::install { message_info "Installing ${GOENV_PACKAGE_NAME}" - curl -sLk https://git.io/gobrew | sh - + curl -sLk https://raw.githubusercontent.com/kevincobain2000/gobrew/master/git.io.sh | sh message_success "Installed ${GOENV_PACKAGE_NAME}" } function goenv::internal::load { unset GOROOT [ -e "${GOBREW_ROOT_BIN}" ] && export PATH="${GOBREW_CURRENT_BIN}:${GOBREW_ROOT_BIN}:${PATH}" - export GOPATH="${GOBREW_ROOT}/current/go" + export GOROOT="${HOME}/.gobrew/current/go" } function goenv::internal::package::get { @@ -92,4 +92,4 @@ function goenv::internal::upgrade { message_info "Upgrade for ${GOENV_PACKAGE_NAME}" curl -sLk https://git.io/gobrew | sh - message_success "Upgraded ${GOENV_PACKAGE_NAME}" -} +} \ No newline at end of file