summaryrefslogtreecommitdiff
path: root/.config/fish/functions/_tide_item_java.fish
blob: 6105acc7a9e408d25a0fc62e95ada2cd11c23a2f (plain)
1
2
3
4
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