From 3913586f678437d6de80bc96c8eea0e1e69a51ac Mon Sep 17 00:00:00 2001 From: Roger Gonzalez Date: Wed, 5 Jul 2023 17:05:39 -0300 Subject: Updated tide --- .config/fish/functions/_tide_item_php.fish | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to '.config/fish/functions/_tide_item_php.fish') diff --git a/.config/fish/functions/_tide_item_php.fish b/.config/fish/functions/_tide_item_php.fish index 64fc59b6..abc104e0 100644 --- a/.config/fish/functions/_tide_item_php.fish +++ b/.config/fish/functions/_tide_item_php.fish @@ -1,3 +1,4 @@ function _tide_item_php - test -e composer.json && _tide_print_item php $tide_php_icon' ' (php --version | string match -r 'PHP ([\d.]+)')[2] + path is $_tide_parent_dirs/composer.json && + _tide_print_item php $tide_php_icon' ' (php --version | string match -r 'PHP ([\d.]+)')[2] end -- cgit v1.2.3