[zsh] fix nvm slowing zsh

This commit is contained in:
Julien Rabier 2023-12-21 12:13:12 +01:00
parent 952738996e
commit dfa5a46946
4 changed files with 7 additions and 3 deletions

View File

@ -36,6 +36,9 @@ github = 'reegnz/jq-zsh-plugin'
[plugins.zsh-autopair] [plugins.zsh-autopair]
github = 'hlissner/zsh-autopair' github = 'hlissner/zsh-autopair'
[plugins.zsh-nvm]
github = 'lukechilds/zsh-nvm'
{{- if eq .chezmoi.hostname "taupo" }} {{- if eq .chezmoi.hostname "taupo" }}
[plugins.zsh-autoswitch-virtualenv] [plugins.zsh-autoswitch-virtualenv]
github = 'MichaelAquilina/zsh-autoswitch-virtualenv' github = 'MichaelAquilina/zsh-autoswitch-virtualenv'

View File

@ -7,3 +7,4 @@ export PATH=$HOME/.local/share/bob/nvim-bin:$HOME/.bin:$PATH
export EDITOR=vim export EDITOR=vim
export FZF_DEFAULT_COMMAND='fdfind --type f --hidden --follow --exclude .git' export FZF_DEFAULT_COMMAND='fdfind --type f --hidden --follow --exclude .git'
export XDG_CONFIG_HOME=$HOME/.config export XDG_CONFIG_HOME=$HOME/.config
export NVM_LAZY_LOAD=true

View File

@ -63,6 +63,3 @@ eval "$(sheldon source)"
# Profiling # Profiling
#unsetopt XTRACE #unsetopt XTRACE
#exec 2>&3 3>&- #exec 2>&3 3>&-
export NVM_DIR="$HOME/.config/nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm

View File

@ -36,6 +36,9 @@ github = 'reegnz/jq-zsh-plugin'
[plugins.zsh-autopair] [plugins.zsh-autopair]
github = 'hlissner/zsh-autopair' github = 'hlissner/zsh-autopair'
[plugins.zsh-nvm]
github = 'lukechilds/zsh-nvm'
{{- if eq .chezmoi.hostname "taupo" }} {{- if eq .chezmoi.hostname "taupo" }}
[plugins.zsh-autoswitch-virtualenv] [plugins.zsh-autoswitch-virtualenv]
github = 'MichaelAquilina/zsh-autoswitch-virtualenv' github = 'MichaelAquilina/zsh-autoswitch-virtualenv'