[zsh] fix nvm slowing zsh
This commit is contained in:
parent
952738996e
commit
dfa5a46946
@ -36,6 +36,9 @@ github = 'reegnz/jq-zsh-plugin'
|
||||
[plugins.zsh-autopair]
|
||||
github = 'hlissner/zsh-autopair'
|
||||
|
||||
[plugins.zsh-nvm]
|
||||
github = 'lukechilds/zsh-nvm'
|
||||
|
||||
{{- if eq .chezmoi.hostname "taupo" }}
|
||||
[plugins.zsh-autoswitch-virtualenv]
|
||||
github = 'MichaelAquilina/zsh-autoswitch-virtualenv'
|
||||
|
||||
@ -7,3 +7,4 @@ export PATH=$HOME/.local/share/bob/nvim-bin:$HOME/.bin:$PATH
|
||||
export EDITOR=vim
|
||||
export FZF_DEFAULT_COMMAND='fdfind --type f --hidden --follow --exclude .git'
|
||||
export XDG_CONFIG_HOME=$HOME/.config
|
||||
export NVM_LAZY_LOAD=true
|
||||
|
||||
@ -63,6 +63,3 @@ eval "$(sheldon source)"
|
||||
# Profiling
|
||||
#unsetopt XTRACE
|
||||
#exec 2>&3 3>&-
|
||||
|
||||
export NVM_DIR="$HOME/.config/nvm"
|
||||
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
|
||||
|
||||
@ -36,6 +36,9 @@ github = 'reegnz/jq-zsh-plugin'
|
||||
[plugins.zsh-autopair]
|
||||
github = 'hlissner/zsh-autopair'
|
||||
|
||||
[plugins.zsh-nvm]
|
||||
github = 'lukechilds/zsh-nvm'
|
||||
|
||||
{{- if eq .chezmoi.hostname "taupo" }}
|
||||
[plugins.zsh-autoswitch-virtualenv]
|
||||
github = 'MichaelAquilina/zsh-autoswitch-virtualenv'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user