tide/functions/_tide_item_php.fish
2021-05-04 08:47:32 -07:00

4 lines
153 B
Fish

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