From f751688dfd179518b972966530245ba2fcd3c7c5 Mon Sep 17 00:00:00 2001 From: oxypomme Date: Sun, 4 Jan 2026 13:56:31 +0100 Subject: [PATCH] feat: added nvm config --- .zshrc | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/.zshrc b/.zshrc index a0662fa..91a6f20 100644 --- a/.zshrc +++ b/.zshrc @@ -79,6 +79,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? @@ -102,15 +111,8 @@ eval "$(oh-my-posh init zsh --config ~/.p10k.omp.json)" # User configuration -# fzf-tab configuration -zstyle ':fzf-tab:complete:cd:*' fzf-preview 'eza -1 --color=always $realpath' -zstyle ':fzf-tab:complete:systemctl-*:*' fzf-preview 'SYSTEMD_COLORS=1 systemctl --user status $word' - # export MANPATH="/usr/local/man:$MANPATH" -# VSCode shell integration -[[ "$TERM_PROGRAM" == "vscode" ]] && . "$(code --locate-shell-integration-path zsh)" - # SSH with kitty kssh() { kitty +kitten ssh $@ @@ -143,7 +145,6 @@ alias ls="eza --icons" alias tree="/bin/eza --icons -T" alias less="batcat" alias df="duf --hide-fs squashfs,tmpfs,efivarfs,devtmpfs" -# alias cd="zoxide" alias grep="ugrep" alias ssh="kssh" alias hx="helix"