|
| 1 | +> VP_SHELL=bash vp env use 20.18.0 --no-install # should detect bash and output posix export |
| 2 | +export VP_NODE_VERSION=20.18.0 |
| 3 | +Using Node.js v<semver> (resolved from <semver>) |
| 4 | + |
| 5 | +> VP_SHELL=zsh vp env use 20.18.0 --no-install # should detect zsh and output posix export |
| 6 | +export VP_NODE_VERSION=20.18.0 |
| 7 | +Using Node.js v<semver> (resolved from <semver>) |
| 8 | + |
| 9 | +> VP_SHELL=fish vp env use 20.18.0 --no-install # should detect fish and output fish export |
| 10 | +set -gx VP_NODE_VERSION <semver> |
| 11 | +Using Node.js v<semver> (resolved from <semver>) |
| 12 | + |
| 13 | +> VP_SHELL=nu vp env use 20.18.0 --no-install # should detect nushell and output nushell export |
| 14 | +$env.VP_NODE_VERSION = "20.18.0" |
| 15 | +Using Node.js v<semver> (resolved from <semver>) |
| 16 | + |
| 17 | +> VP_SHELL=pwsh vp env use 20.18.0 --no-install # should detect powershell and output powershell export |
| 18 | +$env:VP_NODE_VERSION = "20.18.0" |
| 19 | +Using Node.js v<semver> (resolved from <semver>) |
| 20 | + |
| 21 | +> VP_SHELL=cmd vp env use 20.18.0 --no-install # should detect cmd and output cmd export |
| 22 | +set VP_NODE_VERSION=20.18.0 |
| 23 | +Using Node.js v<semver> (resolved from <semver>) |
| 24 | + |
| 25 | +> VP_SHELL=BASH vp env use 20.18.0 --no-install # should detect case-insensitive bash |
| 26 | +export VP_NODE_VERSION=20.18.0 |
| 27 | +Using Node.js v<semver> (resolved from <semver>) |
| 28 | + |
| 29 | +> VP_SHELL=FISH vp env use 20.18.0 --no-install # should detect case-insensitive fish |
| 30 | +set -gx VP_NODE_VERSION <semver> |
| 31 | +Using Node.js v<semver> (resolved from <semver>) |
| 32 | + |
| 33 | +> VP_SHELL=POWERSHELL vp env use 20.18.0 --no-install # should detect case-insensitive powershell |
| 34 | +$env:VP_NODE_VERSION = "20.18.0" |
| 35 | +Using Node.js v<semver> (resolved from <semver>) |
| 36 | + |
| 37 | +> VP_SHELL=invalid vp env use 20.18.0 --no-install # should fallback to platform default |
| 38 | +export VP_NODE_VERSION=20.18.0 |
| 39 | +Using Node.js v<semver> (resolved from <semver>) |
0 commit comments