dotfiles/fish/functions/_tide_item_php.fish

7 lines
190 B
Fish
Raw Normal View History

2023-10-09 03:26:07 +00:00
function _tide_item_php
2023-11-20 17:20:55 +00:00
if path is $_tide_parent_dirs/composer.json
php --version | string match -qr "(?<v>[\d.]+)"
_tide_print_item php $tide_php_icon' ' $v
end
2023-10-09 03:26:07 +00:00
end