diff options
Diffstat (limited to '.config/fish/functions/_tide_item_php.fish')
-rw-r--r-- | .config/fish/functions/_tide_item_php.fish | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/.config/fish/functions/_tide_item_php.fish b/.config/fish/functions/_tide_item_php.fish new file mode 100644 index 00000000..64fc59b6 --- /dev/null +++ b/.config/fish/functions/_tide_item_php.fish @@ -0,0 +1,3 @@ +function _tide_item_php + test -e composer.json && _tide_print_item php $tide_php_icon' ' (php --version | string match -r 'PHP ([\d.]+)')[2] +end |