dotfiles/.config/fish/functions/_tide_item_php.fish
2023-07-05 17:05:39 -03:00

5 lines
175 B
Fish

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