add fish config

This commit is contained in:
Kendall Whitman
2026-01-30 16:09:29 -06:00
parent b37ffcd58d
commit da020a741e
10 changed files with 415 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
function _nvm_list
set --local versions $nvm_data/*
set --query versions[1] &&
string match --entire --regex -- (
string replace --all -- $nvm_data/ "" $versions |
string match --regex -- "v\d.+" |
string escape --style=regex |
string join "|"
) <$nvm_data/.index
command --all node |
string match --quiet --invert --regex -- "^$nvm_data" && echo system
end