-
-
Notifications
You must be signed in to change notification settings - Fork 9.5k
Open
Labels
informationalperformanceThis relates to anything regarding the speed of using nvm.This relates to anything regarding the speed of using nvm.pull request wantedThis is a great way to contribute! Help us out :-DThis is a great way to contribute! Help us out :-Dshell: zsh
Description
Adding the Deeper Shell Integration script for ZSH adds a 1~2 seconds delay to ZSH's tab completion, when the path includes ../ and the directory contains many files (like a Node project with a node_modules folder).
Without the deeper shell integration, when I type . . / p r o Tab a Tab Tab, the three completions happens instantly after each press of the Tab key:
If I just add the deeper shell integration, then when typing the same sequence, the three completions happens after a delay:
Operating system and version:
nvm debug output:
nvm --version: v0.40.3
$SHELL: /usr/bin/zsh
$SHLVL: 1
${NVM_DIR}: '${HOME}/.nvm'
$PREFIX: ''
shell version: 'zsh 5.8.1 (x86_64-ubuntu-linux-gnu)'
OS version: Ubuntu 22.04.4 LTS nvm ls output:
v14.21.2
v16.18.0
v18.20.5
v20.18.3
-> v22.14.0
default -> node (-> v22.14.0)
iojs -> N/A (default)
unstable -> N/A (default)
node -> stable (-> v22.14.0) (default)
stable -> 22.14 (-> v22.14.0) (default)
lts/* -> lts/jod (-> v22.14.0)
lts/argon -> v4.9.1 (-> N/A)
lts/boron -> v6.17.1 (-> N/A)
lts/carbon -> v8.17.0 (-> N/A)
lts/dubnium -> v10.24.1 (-> N/A)
lts/erbium -> v12.22.12 (-> N/A)
lts/fermium -> v14.21.3 (-> N/A)
lts/gallium -> v16.20.2 (-> N/A)
lts/hydrogen -> v18.20.8 (-> N/A)
lts/iron -> v20.19.1 (-> N/A)
lts/jod -> v22.14.0How did you install nvm?
Install script in readme.
What steps did you perform?
Add Deeper Shell Integration script for ZSH.
What happened?
Everything works, but I notice this delay.
What did you expect to happen?
No delay, like before adding the Deeper Shell Integration script.
Is there anything in any of your profile files that modifies the PATH?
No.
Metadata
Metadata
Assignees
Labels
informationalperformanceThis relates to anything regarding the speed of using nvm.This relates to anything regarding the speed of using nvm.pull request wantedThis is a great way to contribute! Help us out :-DThis is a great way to contribute! Help us out :-Dshell: zsh

