Minor edits to java item

This commit is contained in:
Ilan Cosman 2022-05-16 07:56:57 -07:00
parent 5a4af0e812
commit 2b6a547330

View File

@ -1,3 +1,3 @@
function _tide_item_java
test -e pom.xml && _tide_print_item java $tide_java_icon' ' (java -version 2>&1 | string match -r "[\d.]+")[2]
test -e pom.xml && _tide_print_item java $tide_java_icon' ' (java -version &| string match -r "[\d.]+")[1]
end