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