mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-04-24 04:29:25 +02:00
nvm: split out $NVM_DIR and $NVM_INSTALL_DIR
This commit is contained in:
parent
6fd1013b0d
commit
7f4707874f
3 changed files with 18 additions and 11 deletions
|
|
@ -6,7 +6,8 @@ The `nvm` plugin locates and loads [NVM](https://github.com/creationix/nvm) if i
|
|||
|
||||
This plugin looks in a few well-known locations for the NVM installation, in the following order:
|
||||
|
||||
* `$NVM_DIR` - Lets user force loading from an arbitrary location
|
||||
* `$NVM_INSTALL_DIR` - Forces loading from an arbitrary location that may be different from the `$NVM_DIR` data directory. If provided, no other locations will be checked.
|
||||
* `$NVM_DIR` - Arbitrary installation location that is also the data directory
|
||||
* `~/.nvm` - Default installation location for NVM
|
||||
* `$(brew --prefix nvm)` - Mac Homebrew's NVM installation location
|
||||
|
||||
|
|
@ -28,4 +29,6 @@ To use NVM's bundled bash completions, set `ZSH_NVM_BUNDLED_COMPLETION=true` in
|
|||
|
||||
### Environment Variables
|
||||
|
||||
* `$ZSH_NVM_BUNDLED_COMPLETION` - if `true`, uses NVM's own completion definition instead of the OMZ nvm plugin's definition.
|
||||
* `$ZSH_NVM_BUNDLED_COMPLETION` - if `true`, uses NVM's own completion definition instead of the OMZ nvm plugin's definition
|
||||
* `$NVM_INSTALL_DIR` - overrides installation search path
|
||||
* `$NVM_DIR` - NVM data directory and possible installation location
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue