kamiyaa / joshuto

ranger-like terminal file manager written in Rust
https://crates.io/crates/joshuto
GNU Lesser General Public License v3.0
3.4k stars 150 forks source link

[mime-type] doesn work for me #352

Open mkblast opened 1 year ago

mkblast commented 1 year ago

I tried to fiddle around but i can't get thins to work. if i try to open plain text file it won't work. is there something im missing or it's just a bug.

[class]

text_default  = [
    { command = "nvim" },
]

[mimetype]

[mimetype.text]
inherit = "text_default"
kamiyaa commented 1 year ago

Are you running the latest joshuto build? It also requires the file command to be present in order to work. But file command should almost always be present on unix systems

rasmus-kirk commented 1 year ago

I have the same problem on version 0.9.5 installed with nix