tide/functions/_tide_item_php.fish
2021-10-31 13:44:16 -07:00

4 lines
148 B
Fish

function _tide_item_php
test -e composer.json && _tide_print_item php $tide_php_icon' ' (php --version | string match -r 'PHP ([\d.]+)')[2]
end