Skip to content

Mixing fetcher plugins #2187

Answered by sxyazi
lioncahir asked this question in 1. Q&A
Discussion options

You must be logged in to vote

because mime types of files without extension are not fetched correctly, which impacts preview (for example .bashrc is not previewed)

fallback_file1 = true is exactly for this purpose, see https://github.com/yazi-rs/plugins/tree/main/mime-ext.yazi#advanced

Alternatively, you can extend the mime database with with_files or raise a PR to submit it upstream.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by lioncahir
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
1. Q&A
Labels
None yet
2 participants