mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-05 01:46:46 +01:00
parent
115cee1701
commit
46c70406dd
2 changed files with 3 additions and 3 deletions
|
|
@ -43,8 +43,8 @@ if zstyle -t ':omz:plugins:nvm' lazy; then
|
|||
# Call nvm when first using nvm, node, npm, pnpm, yarn or other commands in lazy-cmd
|
||||
zstyle -a ':omz:plugins:nvm' lazy-cmd nvm_lazy_cmd
|
||||
eval "
|
||||
function nvm node npm pnpm yarn $nvm_lazy_cmd {
|
||||
unfunction nvm node npm pnpm yarn $nvm_lazy_cmd
|
||||
function nvm node npm npx pnpm yarn $nvm_lazy_cmd {
|
||||
unfunction nvm node npm npx pnpm yarn $nvm_lazy_cmd
|
||||
# Load nvm if it exists in \$NVM_DIR
|
||||
[[ -f \"\$NVM_DIR/nvm.sh\" ]] && source \"\$NVM_DIR/nvm.sh\"
|
||||
\"\$0\" \"\$@\"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue