Vendor fish plugins

This commit is contained in:
John Doty 2022-11-07 15:09:41 +00:00
parent 6ab0d81bd7
commit 4ed9aff4ca
11 changed files with 567 additions and 5 deletions

View file

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