pistol.conf could be better
lucas-mior opened this issue · comments
I noticed that parsing of pistol.conf
fails when there is more than one space between the mime type and preview program.
Which makes the config file really messy.
Could you give please a concrete example?
GitHub won't let me put two spaces in a row, I'll try to explain the best I can.
inode/directory ls -1A --color %pistol-filename%
<-- works, but won't if there is one more space character between directory
and ls
. It makes easy for errors to occur just because of one extra space character.
Also I can't align the mime types / programs properly, making the config file confusing to read and mantain.
Thanks for catching that, I improved the config file's parsing, and I hope that works for you. A new release is available.
Indeed, it works now, but I also noticed that empty lines (previously ignored) now break the config parsing.
Not a problem for me, but might break someone else's config.
It should work now.
https://www.reddit.com/r/ProgrammerHumor/comments/hp9wwp/biggest_lie/
It does, thanks.