fix: fixed nvm autoloading
This commit is contained in:
13
.zshrc
13
.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?
|
# Would you like to use another custom folder than $ZSH/custom?
|
||||||
# ZSH_CUSTOM=/path/to/new-custom-folder
|
# 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"
|
ZOXIDE_CMD_OVERRIDE="cd"
|
||||||
|
|
||||||
# Which plugins would you like to load?
|
# Which plugins would you like to load?
|
||||||
@@ -111,8 +120,8 @@ eval "$(oh-my-posh init zsh --config ~/.p10k.omp.json)"
|
|||||||
# User configuration
|
# User configuration
|
||||||
|
|
||||||
# nvm configuration
|
# nvm configuration
|
||||||
zstyle ':omz:plugins:nvm' lazy yes
|
# zstyle ':omz:plugins:nvm' lazy yes
|
||||||
zstyle ':omz:plugins:nvm' autoload yes
|
# zstyle ':omz:plugins:nvm' autoload yes
|
||||||
# zstyle ':omz:plugins:nvm' silent-autoload yes # optionally remove the output generated by NVM when autoloading
|
# zstyle ':omz:plugins:nvm' silent-autoload yes # optionally remove the output generated by NVM when autoloading
|
||||||
|
|
||||||
# fzf-tab configuration
|
# fzf-tab configuration
|
||||||
|
|||||||
Reference in New Issue
Block a user