feat: add go bin to path

This commit is contained in:
max_richter 2021-02-03 22:37:56 +01:00
parent d380ebc6b4
commit 4508b9088f

View File

@ -27,11 +27,10 @@ source $HOME/.dotfiles/configs/zsh/aliases.sh
export PATH="$PATH:$HOME/.yarn/bin" export PATH="$PATH:$HOME/.yarn/bin"
export PATH="$PATH:$HOME/.local/bin" export PATH="$PATH:$HOME/.local/bin"
export PATH="$PATH:$HOME/bin" export PATH="$PATH:$HOME/bin"
export PATH="$PATH:$HOME/go/bin"
## GO STUFF ## GO STUFF
export GOROOT="/usr/local/bin/go" export PATH=$PATH:/usr/local/go/bin
export GOPATH="$HOME/go"
export PATH="$PATH:/usr/local/go/bin:$GOPATH/bin"
[[ -s $(which direnv) ]] && eval "$(direnv hook zsh)" [[ -s $(which direnv) ]] && eval "$(direnv hook zsh)"
@ -55,6 +54,11 @@ export SDKMAN_DIR="$HOME/.sdkman"
export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")" export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
if [ -d $HOME/.dotnet ]; then
export DOTNET_ROOT=$HOME/.dotnet;
export PATH=$PATH:$HOME/.dotnet;
fi
# The next line updates PATH for the Google Cloud SDK. # The next line updates PATH for the Google Cloud SDK.
if [ -f '/home/coder/downloads/google-cloud-sdk/path.zsh.inc' ]; then . '/home/coder/downloads/google-cloud-sdk/path.zsh.inc'; fi if [ -f '/home/coder/downloads/google-cloud-sdk/path.zsh.inc' ]; then . '/home/coder/downloads/google-cloud-sdk/path.zsh.inc'; fi