yazi: The context menu show incorrect options in some files
What system are you running Yazi on?
macOS
What terminal are you running Yazi in?
Warp / iTerm2
Yazi version
0.2.3
Did you try the latest main branch to see if the problem has already been fixed?
Not tried, and I’ll explain why below
Describe the bug
Using main branch need to build yazi locally and need many dependencies. And I’ve checked recent open and closed issues don’t include this.
The options in the open options menu of some files are incorrect, for example:
I’ve got a print.sh and a print.swift and their options are incorrect:
Then I create a print2.sh and this time the options are correct:
Their attributes are basically the same:
Besides, I’ve got a mov.mp4 file and its options are incorrect either(but another file named fmp4.mp4 is correct):
And here is the file list in yazi:
It’s interesting that one of the two mp4 files is yellow, and one of the two shell files is yellow. I’m using the default configuration.
Expected Behavior
All shell files and swift files should contains the $EDITOR option, and all video files should contains the play option(mpv)
To Reproduce
I’ve got no idea temporarily, do you have and ideas about how this happened?
Configuration
no config
Anything else?
No response
About this issue
- Original URL
- State: closed
- Created 4 months ago
- Comments: 28 (16 by maintainers)
Thanks for testing! Let’s merge it then
Hi, I made a PR trying to fix it, https://github.com/sxyazi/yazi/pull/707, let me know if it works for you!
This is amazing, it’s my first time discovering that Yazi has so many cute icons.