diff options
| author | Ahmed Abdelhalim <[email protected]> | 2022-02-14 14:59:22 +0100 |
|---|---|---|
| committer | Ahmed Abdelhalim <[email protected]> | 2022-02-14 14:59:22 +0100 |
| commit | 2f51e4c8782bdfea87f4f2771c676a363b0f3fba (patch) | |
| tree | afcc145dd35116ce96a973c0b9b1928d9f74b45a | |
| parent | 9204e7e3dea87906e797888523ea37df2ccb0c00 (diff) | |
Install golang directly since the goenv had loading issues on vim
| -rw-r--r-- | .bash_profile | 9 | ||||
| -rw-r--r-- | .goenv/version | 1 | ||||
| -rw-r--r-- | README.md | 5 |
3 files changed, 1 insertions, 14 deletions
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 @@ -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 |
