mirror of
https://github.com/IlanCosman/tide.git
synced 2024-12-23 20:13:05 +03:00
17 lines
239 B
Fish
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:
|