-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Feature request: automatic decompression #748
Copy link
Copy link
Closed
Labels
duplicateThis issue or pull request already existsThis issue or pull request already existsfeature-requestNew feature or requestNew feature or request
Description
Hi,
I use bat as a nice replacement for less and one thing I see bat not doing is decompressing files that are compressed plain text e.g. gzip. For instance if I run less a.gz I see the contents of a.gz, while bat a.gz just tells me it is binary. Of course the workaround is just zcat a.gz |bat but I'm lazy.
I suppose this is related: https://github.com/wofr06/lesspipe
Thanks, ben
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
duplicateThis issue or pull request already existsThis issue or pull request already existsfeature-requestNew feature or requestNew feature or request