bat-extras
bat-extras copied to clipboard
batman: redirect stderr to /dev/null when rendering preview
To avoid preview being flooded by garbage warnings.
Thanks for adding this! I'll need to add tests for a couple of scenarios1 before merging this, but it looks good code wise.
1 Mainly that it doesn't accidentally suppress legitimate warnings and errors.