Skip to content

Commit

Permalink
fix: change url install for gobrew (#75)
Browse files Browse the repository at this point in the history
  • Loading branch information
luismayta committed Nov 3, 2023
1 parent cba63cd commit f501268
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions internal/base.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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}"
}
}

0 comments on commit f501268

Please sign in to comment.