feat(common): updated some zsh related customizations
This commit is contained in:
parent
22847db529
commit
4af69c31ce
2 changed files with 8 additions and 0 deletions
|
@ -21,5 +21,6 @@ command -v helm &> /dev/null && source <(helm completion zsh) || true
|
|||
command -v noseyparker &> /dev/null && source <(noseyparker shell-completions --shell zsh) || true
|
||||
|
||||
[ -s "$NVM_DIR/bash_completion" ] && source "$NVM_DIR/bash_completion"
|
||||
[ -s "$HOME/.pyenv/completions/pyenv.zsh" ] && source "$HOME/.pyenv/completions/pyenv.zsh"
|
||||
|
||||
autoload -U compinit && compinit
|
||||
|
|
|
@ -22,6 +22,13 @@ export NVM_DIR="$HOME/.nvm"
|
|||
[ -d "${HOME}/.local/share/gems/ruby/${RUBY_VERSION}" ] && export GEM_DIR="${HOME}/.local/share/gems/ruby/${RUBY_VERSION}"
|
||||
[ -d "${HOME}/.cargo/env" ] && source "${HOME}/.cargo/env"
|
||||
|
||||
export PYENV_ROOT="$HOME/.pyenv"
|
||||
if [[ -d $PYENV_ROOT/bin ]]; then
|
||||
export PATH="$PYENV_ROOT/bin:$PATH"
|
||||
eval "$(pyenv init - bash)"
|
||||
eval "$(pyenv virtualenv-init -)"
|
||||
fi
|
||||
|
||||
# Path
|
||||
export PATH="${PATH}:${HOME}/.local/bin"
|
||||
[ -d "${HOME}/.nvm/current/bin" ] && export PATH="${PATH}:${HOME}/.nvm/current/bin"
|
||||
|
|
Loading…
Add table
Reference in a new issue