feat: small changes

This commit is contained in:
max_richter 2021-03-18 14:10:17 +01:00
parent 8bbbb174aa
commit 4dae06e460
2 changed files with 19 additions and 6 deletions

View File

@ -111,3 +111,9 @@ if ! shopt -oq posix; then
. /etc/bash_completion
fi
fi
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
[[ -s "/home/jim/.gvm/scripts/gvm" ]] && source "/home/jim/.gvm/scripts/gvm"

View File

@ -29,17 +29,15 @@ export PATH="$PATH:$HOME/.local/bin"
export PATH="$PATH:$HOME/bin"
export PATH="$PATH:$HOME/go/bin"
## Setup VIM
export EDITOR="nvim"
export VIMRUNTIME="~/bin/neovim/runtime"
## GO STUFF
export PATH=$PATH:/usr/local/go/bin
[[ -s $(which direnv) ]] && eval "$(direnv hook zsh)"
if [ -s "$HOME/.pyenv" ]; then
export PYENV_ROOT="$HOME/.pyenv"
export PATH="$PYENV_ROOT/bin:$PATH"
eval "$(pyenv init -)"
fi
#Java version manager
export SDKMAN_DIR="$HOME/.sdkman"
[[ -s "$HOME/.sdkman/bin/sdkman-init.sh" ]] && source "$HOME/.sdkman/bin/sdkman-init.sh"
@ -59,8 +57,17 @@ if [ -d $HOME/.dotnet ]; then
export PATH=$PATH:$HOME/.dotnet;
fi
#Load pyenv if found
if [ -s "$HOME/.pyenv" ]; then
export PYENV_ROOT="$HOME/.pyenv"
export PATH="$PYENV_ROOT/bin:$PATH"
eval "$(pyenv init -)"
fi
# 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
# The next line enables shell command completion for gcloud.
if [ -f '/home/coder/downloads/google-cloud-sdk/completion.zsh.inc' ]; then . '/home/coder/downloads/google-cloud-sdk/completion.zsh.inc'; fi
export GOPATH="$HOME/go"; export GOROOT="$HOME/.go"; export PATH="$GOPATH/bin:$PATH"; # g-install: do NOT edit, see https://github.com/stefanmaric/g