mirror of
https://github.com/IlanCosman/tide.git
synced 2024-09-11 09:05:37 +03:00
Fixes
This commit is contained in:
parent
d220b9d93b
commit
d8d07f8361
@ -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
|
||||
|
@ -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
|
||||
|
@ -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]
|
||||
|
Loading…
Reference in New Issue
Block a user