Cassidy Marble
|
9c8cac4a2e
|
[Perf] nvm_is_valid_version, nvm_validate_implicit_alias: avoid forks
|
2026-10-06 18:01:38 -03:00 |
|
Cassidy Marble
|
66640e6000
|
[Perf] nvm_echo: use the printf shell builtin under zsh
In zsh, `command printf` skips the builtin and forks `/usr/bin/printf`.
|
2026-10-06 17:54:48 -03:00 |
|
Cassidy Marble
|
1dd1d8c82e
|
[Perf] nvm_get_os: read /etc/os-release instead of forking uname -a
The file is read, not sourced. An `ID` with no OS of its own is only taken as Linux when the kernel's `ostype` says so; otherwise `uname -a` decides.
|
2026-10-06 14:23:02 -03:00 |
|
Cassidy Marble
|
c28f2b70db
|
[Perf] nvm_npmrc_bad_news_bears: scan npmrc files without forking grep
|
2026-10-06 14:01:11 -03:00 |
|
Cassidy Marble
|
f296b8d210
|
[Perf] nvm_die_on_prefix: detect the OS only when it is needed
|
2026-10-06 14:00:46 -03:00 |
|
Cassidy Marble
|
c7ba8d2106
|
[Perf] nvm_version: resolve an exact, installed version without nvm_ls
An alias of the same name still takes precedence, as it does in `nvm_ls`.
|
2026-10-06 12:43:22 -03:00 |
|
Cassidy Marble
|
d211d5fdb8
|
[Perf] nvm_is_version_installed: check the modern layout's path before the full lookup
|
2026-10-06 12:43:22 -03:00 |
|