From 2f51e4c8782bdfea87f4f2771c676a363b0f3fba Mon Sep 17 00:00:00 2001 From: Ahmed Abdelhalim Date: Mon, 14 Feb 2022 14:59:22 +0100 Subject: Install golang directly since the goenv had loading issues on vim --- .bash_profile | 9 --------- .goenv/version | 1 - README.md | 5 +---- 3 files changed, 1 insertion(+), 14 deletions(-) delete mode 100644 .goenv/version diff --git a/.bash_profile b/.bash_profile index 928cc6c..401e4d5 100644 --- a/.bash_profile +++ b/.bash_profile @@ -62,15 +62,6 @@ if command -v pyenv 1>/dev/null 2>&1; then export PATH="$HOME/.local/bin:$PATH" fi -# ==== GO config -if [ -d $HOME/.goenv ]; then - export GOENV_ROOT="$HOME/.goenv" - export PATH="$GOENV_ROOT/bin:$PATH" - eval "$(goenv init -)" - export PATH="$GOROOT/bin:$PATH" - export PATH="$PATH:$GOPATH/bin" -fi - # ==== Rust config if [ -f $HOME/.cargo/env ]; then source "$HOME/.cargo/env" diff --git a/.goenv/version b/.goenv/version deleted file mode 100644 index 622f042..0000000 --- a/.goenv/version +++ /dev/null @@ -1 +0,0 @@ -1.17.6 diff --git a/README.md b/README.md index 367a4fa..8a73345 100644 --- a/README.md +++ b/README.md @@ -148,10 +148,7 @@ ln -sf ~/.rc/.pyenv/version ~/.pyenv/version - Setup GO ```bash -git clone https://github.com/syndbg/goenv.git ~/.goenv -# TODO: use brew install goenv (after beta release) -ln -sf ~/.rc/.goenv/version ~/.goenv/version -goenv install $(cat ~/.goenv/version) +brew install golang ``` - Setup rust -- cgit v1.2.3