Closed CosmicHorrorDev closed 1 year ago
That's good idea. You can find the configuration directory with dirs_next::config_dir
. The config should probably be written in toml, which is possible with the toml
crate.
Here's a suggestion for the format:
[shell]
program = "bash"
[output]
cwd = false
full_document = false
highlight = []
css_prefix = ""
Does that work for you?
Sounds good! Busy day today, so I'll start on it tomorrow
There are several configuration knobs that I would want turned the same way every time I run
to-html
. Adding it as a shell alias can achieves the same effect, but doesn't really seem as nice for more complex configurationThis also opens the door to more easily handling more complex configuration