add: nvm configurations
This commit is contained in:
parent
7261864fcc
commit
31fb646d79
2 changed files with 6 additions and 0 deletions
|
|
@ -1,3 +1,5 @@
|
||||||
# Config file for macOS
|
# Config file for macOS
|
||||||
|
|
||||||
eval "$(/opt/homebrew/bin/brew shellenv)"
|
eval "$(/opt/homebrew/bin/brew shellenv)"
|
||||||
|
|
||||||
|
set -x NVM_DIR "$HOME/.nvm"
|
||||||
|
|
|
||||||
4
.config/fish/functions/nvm.fish
Normal file
4
.config/fish/functions/nvm.fish
Normal file
|
|
@ -0,0 +1,4 @@
|
||||||
|
function nvm
|
||||||
|
set nvm_prefix (brew --prefix nvm)
|
||||||
|
bass source "$nvm_prefix/nvm.sh" --no-use ';' nvm $argv
|
||||||
|
end
|
||||||
Loading…
Add table
Add a link
Reference in a new issue