tide/functions/_tide_item_java.fish

7 lines
188 B
Fish
Raw Normal View History

2022-01-06 15:59:37 +03:00
function _tide_item_java
2023-07-07 07:25:43 +03:00
if path is $_tide_parent_dirs/pom.xml
2023-07-07 18:06:55 +03:00
java -version &| string match -qr "(?<v>[\d.]+)"
_tide_print_item java $tide_java_icon' ' $v
2023-07-07 07:25:43 +03:00
end
2022-01-06 15:59:37 +03:00
end