add nvm to wsl/linux config
This commit is contained in:
parent
afe8c33b32
commit
f5c072a150
2 changed files with 12 additions and 0 deletions
|
|
@ -49,6 +49,17 @@ if type -q tmux
|
||||||
alias tmks "tmux kill-session"
|
alias tmks "tmux kill-session"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
if type -q nvm
|
||||||
|
nvm use >/dev/null
|
||||||
|
end
|
||||||
|
|
||||||
|
function fish_greeting
|
||||||
|
echo "Welcome Back Juan!"
|
||||||
|
if type -q nvm
|
||||||
|
echo "Current Node:$(nvm current)"
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
# allow local config overwrite
|
# allow local config overwrite
|
||||||
set LOCAL_CONFIG (dirname (status --current-file))/config-local.fish
|
set LOCAL_CONFIG (dirname (status --current-file))/config-local.fish
|
||||||
if test -f $LOCAL_CONFIG
|
if test -f $LOCAL_CONFIG
|
||||||
|
|
|
||||||
1
.config/nvm/nvmrc
Normal file
1
.config/nvm/nvmrc
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
16
|
||||||
Loading…
Add table
Add a link
Reference in a new issue