change nvm to rtx

This commit is contained in:
Alexander Navarro 2023-06-11 19:05:05 -04:00
parent 23dc5489a1
commit cad6118609
4 changed files with 2702 additions and 14 deletions

2692
config/zsh/completions/_rtx Normal file

File diff suppressed because it is too large Load diff

View file

@ -11,11 +11,9 @@ export VISUAL="$EDITOR"
export QT_STYLE_OVERRIDE=kvantum
# Dev Stuff
export PYENV_ROOT="$HOME/.pyenv"
export NPM_PACKAGES="$HOME/.npm-packages"
export NODE_PATH="$NPM_PACKAGES/lib/node_modules${NODE_PATH:+:$NODE_PATH}"
export PNPM_HOME="$HOME/.local/share/pnpm"
export NVM_DIR="$HOME/.nvm"
# Unset manpath so we can inherit from /etc/manpath via the `manpath`
# command
@ -31,10 +29,6 @@ update_path "$DOTS/scripts"
update_path "$HOME/bin"
update_path "$NPM_PACKAGES/bin"
update_path "$PNPM_HOME"
update_path "$PYENV_ROOT/bin"
update_path "$HOME/.local/share/rtx/shims"
. "$HOME/.cargo/env"
eval "$(pyenv init --path)"
tmux new-session -d "default"

View file

@ -44,16 +44,12 @@ ZSH_ALIAS_FINDER_AUTOMATIC=true
# Plugin Config #
#--------------------------------------------------------------------#
# Lazy load nvm, increasy startup time a lot.
zstyle ':omz:plugins:nvm' lazy true
# VI_MODE_RESET_PROMPT_ON_MODE_CHANGE=true
# VI_MODE_SET_CURSOR=true
ZSHZ_TILDE=1
plugins=(
nvm
alias-finder
# archlinux
bgnotify
@ -112,7 +108,5 @@ if [[ "$ZPROF" = true ]]; then
zprof
fi
[ -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
eval "$(starship init zsh)"
eval "$(rtx activate zsh)"