tide/tests/_tide_item_nvm.test.fish
2021-02-10 13:59:36 -08:00

17 lines
239 B
Fish

# RUN: %fish %s
function _nvm
_tide_decolor (_tide_item_nvm)
end
set -lx tide_nvm_icon
functions --erase nvm
_nvm # CHECK:
mock nvm current "echo v15.8.0"
_nvm # CHECK: ⬢ v15.8.0
mock nvm current "echo system"
_nvm # CHECK: