This commit is contained in:
Ilan Cosman 2024-01-25 12:10:41 -08:00
parent d220b9d93b
commit d8d07f8361
3 changed files with 5 additions and 6 deletions

View File

@ -1,10 +1,10 @@
# Changelog
## [v6.2.0][] (Jan 23 2024)
## [v6.2.0][] (???)
### Features
- Add a new `bun` item.
- Add a new `bun` item ([#485][] - @will-stone)
## [v6.1.1][] (Dec 27 2023)
@ -585,6 +585,7 @@
[#470]: https://github.com/IlanCosman/tide/issues/470
[#472]: https://github.com/IlanCosman/tide/issues/472
[#474]: https://github.com/IlanCosman/tide/issues/474
[#485]: https://github.com/IlanCosman/tide/issues/485
[prettier action]: https://github.com/actionsx/prettier
[super-linter]: https://github.com/github/super-linter
[v1.0.0]: https://github.com/IlanCosman/tide/tree/v1.0.0

View File

@ -1,7 +1,5 @@
function _tide_item_node
if path is $_tide_parent_dirs/package.json and
# If Bun is detected assume that is being used over node
not path is $_tide_parent_dirs/bun.lockb
if path is $_tide_parent_dirs/package.json
node --version | string match -qr "v(?<v>.*)"
_tide_print_item node $tide_node_icon' ' $v
end

View File

@ -2,7 +2,7 @@ function tide --description 'Manage your Tide prompt'
argparse --stop-nonopt v/version h/help -- $argv
if set -q _flag_version
echo 'tide, version 6.2.0'
echo 'tide, version 6.1.1'
else if set -q _flag_help
_tide_help
else if functions --query _tide_sub_$argv[1]