mirror of
https://github.com/IlanCosman/tide.git
synced 2024-12-23 12:03:48 +03:00
20 lines
276 B
Fish
20 lines
276 B
Fish
# RUN: %fish %s
|
|
_tide_parent_dirs
|
|
|
|
function _node
|
|
_tide_decolor (_tide_item_node)
|
|
end
|
|
|
|
set -l tmpdir (mktemp -d)
|
|
cd $tmpdir
|
|
|
|
mock node --version "echo v16.5.0"
|
|
set -lx tide_node_icon ⬢
|
|
|
|
_node # CHECK:
|
|
|
|
touch package.json
|
|
_node # CHECK: ⬢ 16.5.0
|
|
|
|
command rm -r $tmpdir
|