-
Notifications
You must be signed in to change notification settings - Fork 458
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Running yazi --version
emits warnings to the terminal and breaks yazi-nightly-bin
#1668
Comments
Thanks! |
Now that the warnings are in ●• yazi
WARNING: The `create_title` under `[input]` now accepts an array instead of a string to support different titles for `create` and `create --dir` command.
Please change `create_title = "Create:"` to `create_title = ["Create:", "Create (dir):"]` in your yazi.toml. Planning to fix this particular warning? |
Warning output is expected behavior because you're using the latest nightly version, where the option has been changed from a string to an array to support #1650. However, it should be printed to stderr so that it doesn't affect version checks in automation scripts. |
TOML Parse Error When Updating create_title in yazi.toml
yazi.toml
create_title = "Create:" -->
create_title = [ "Create:", "Create (dir):" ]
yazi Error message:
Error: TOML parse error at line 253, column 16
|
253 | create_title = ["Create:", "Create (dir):"]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
invalid type: sequence, expected a string version: yazi --version
Yazi 0.3.3 (Arch Linux 2024-09-05) |
This isn't the nightly version, the nightly version should be 2024-09-26, https://yazi-rs.github.io/docs/installation#official-binaries |
I'm going to lock this issue because it has been closed for 30 days. ⏳ |
What system are you running Yazi on?
Linux Wayland
What terminal are you running Yazi in?
kitty 0.35.2
yazi --debug
outputDid you try the latest nightly build to see if the problem got fixed?
Yes, and I updated the debug information above (
yazi --debug
) to the nightly that I triedDescribe the bug
The
--version
argument spits warnings which in turn broken the https://aur.archlinux.org/packages/yazi-nightly-bin package.Minimal reproducer
yazi --version
Anything else?
I would expect:
The text was updated successfully, but these errors were encountered: