dotfiles/fish/functions/_tide_item_java.fish

4 lines
167 B
Fish

function _tide_item_java
path is $_tide_parent_dirs/pom.xml &&
_tide_print_item java $tide_java_icon' ' (java -version &| string match -r "[\d.]+")[1]
end