wofr06 / lesspipe

lesspipe - display more with less
GNU General Public License v2.0
484 stars 51 forks source link

Fix `bat` colorization and robust config file detection #158

Closed suvayu closed 4 weeks ago

suvayu commented 1 month ago

Additional Remarks

re: config file issue: the location of the config file is platform dependent, it can also be set to a custom location by setting an environment variable. So instead of trying to guess, follow upstream recommendation

wofr06 commented 4 weeks ago

Instead of bat as the name of the program please use $prog. At least in Ubuntu the program is called batcat

suvayu commented 3 weeks ago

Thanks for reviewing and accepting the PR :slightly_smiling_face: