Skip to content

Commit 836f37a

Browse files
authored
Fix fvm ls sort bug
1 parent c38ae38 commit 836f37a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fvm.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ fvm_ls() {
304304
s#^versions/##;
305305
" \
306306
-e 's#^\([^/]\{1,\}\)/\(.*\)$#\2.\1#;' \
307-
| command sort -t. -u -k 1.2,1n -k 2,2n -k 3,3n \
307+
| command sort -t. -k 1,1nr -k 2,2nr -k 3,3nr \
308308
)"
309309
fi
310310

0 commit comments

Comments
 (0)