fix: fixed nvm autoloading

inist
oxypomme 2025-07-22 08:31:42 +02:00
parent 297dab51e8
commit 628f7aa976
1 changed files with 11 additions and 2 deletions

13
.zshrc
View File

@ -85,6 +85,15 @@ unsetopt HIST_VERIFY # Execute commands using history (e.g.: using !$) immediate
# Would you like to use another custom folder than $ZSH/custom?
# ZSH_CUSTOM=/path/to/new-custom-folder
# nvm configuration
zstyle ':omz:plugins:nvm' lazy yes
zstyle ':omz:plugins:nvm' autoload yes
# zstyle ':omz:plugins:nvm' silent-autoload yes # optionally remove the output generated by NVM when autoloading
# fzf-tab configuration
zstyle ':fzf-tab:complete:cd:*' fzf-preview '/bin/eza -1 --color=always $realpath'
zstyle ':fzf-tab:complete:systemctl-*:*' fzf-preview 'SYSTEMD_COLORS=1 systemctl --user status $word'
ZOXIDE_CMD_OVERRIDE="cd"
# Which plugins would you like to load?
@ -111,8 +120,8 @@ eval "$(oh-my-posh init zsh --config ~/.p10k.omp.json)"
# User configuration
# nvm configuration
zstyle ':omz:plugins:nvm' lazy yes
zstyle ':omz:plugins:nvm' autoload yes
# zstyle ':omz:plugins:nvm' lazy yes
# zstyle ':omz:plugins:nvm' autoload yes
# zstyle ':omz:plugins:nvm' silent-autoload yes # optionally remove the output generated by NVM when autoloading
# fzf-tab configuration