7 lines
190 B
Fish
7 lines
190 B
Fish
function _tide_item_php
|
|
if path is $_tide_parent_dirs/composer.json
|
|
php --version | string match -qr "(?<v>[\d.]+)"
|
|
_tide_print_item php $tide_php_icon' ' $v
|
|
end
|
|
end
|