From 628f7aa9767d0ce5fb399ad2730b25eeee11dd8b Mon Sep 17 00:00:00 2001 From: oxypomme Date: Tue, 22 Jul 2025 08:31:42 +0200 Subject: [PATCH] fix: fixed nvm autoloading --- .zshrc | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/.zshrc b/.zshrc index 25eaf14..4bcfaa5 100644 --- a/.zshrc +++ b/.zshrc @@ -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