nvm icon indicating copy to clipboard operation
nvm copied to clipboard

Add profile marker check

Open catatsuy opened this issue 4 months ago • 8 comments
trafficstars

Allow users to prevent nvm from automatically updating their shell configuration files by adding '# nvm completions' comment. This follows the same pattern as bun where the presence of the marker indicates the user wants to manage the configuration manually.

When '# nvm completions' is found in .zshrc/.bashrc, the installer will skip adding nvm initialization code, giving users more control over their shell configuration.

https://github.com/oven-sh/bun/issues/7641

refs: #2153 #2076

catatsuy avatar Jul 05 '25 05:07 catatsuy