mirror of
https://github.com/IlanCosman/tide.git
synced 2024-12-23 12:03:48 +03:00
7 lines
188 B
Fish
7 lines
188 B
Fish
function _tide_item_java
|
|
if path is $_tide_parent_dirs/pom.xml
|
|
java -version &| string match -qr "(?<v>[\d.]+)"
|
|
_tide_print_item java $tide_java_icon' ' $v
|
|
end
|
|
end
|