summaryrefslogtreecommitdiff
path: root/.config/fish/functions/_tide_item_php.fish
blob: abc104e05a82bc37a14db5ba0b405f76f84253e7 (plain)
1
2
3
4
function _tide_item_php
    path is $_tide_parent_dirs/composer.json &&
        _tide_print_item php $tide_php_icon' ' (php --version | string match -r 'PHP ([\d.]+)')[2]
end