tide/functions/_tide_item_node.fish
Branch Vincent 4f1002c3df
add node item (#181)
* add node

* Use string trim instead

Co-authored-by: Ilan Cosman <ilancosman@gmail.com>
2021-08-11 14:45:12 -07:00

4 lines
139 B
Fish

function _tide_item_node
test -e package.json && _tide_print_item node $tide_node_icon' ' (node --version | string trim --chars=v)
end