We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b8edb1e commit 46586c4Copy full SHA for 46586c4
functions/_nvm_list.fish
@@ -1,5 +1,6 @@
1
function _nvm_list
2
- set --local versions $nvm_data/*
+ set --local versions (string replace --all -- $nvm_data/ "" $nvm_data/*)
3
+
4
set --query versions[1] &&
5
string match --entire --regex -- (string match --regex -- "v\d.+" $versions |
6
string escape --style=regex |
0 commit comments