tide/functions/_tide_item_php.fish

7 lines
190 B
Fish
Raw Normal View History

2021-02-26 01:14:43 +03:00
function _tide_item_php
2023-07-07 07:31:57 +03:00
if path is $_tide_parent_dirs/composer.json
2023-07-07 18:06:55 +03:00
php --version | string match -qr "(?<v>[\d.]+)"
_tide_print_item php $tide_php_icon' ' $v
2023-07-07 07:31:57 +03:00
end
2021-03-02 20:46:40 +03:00
end