Repository: sharkdp/bat (language: rust)

Issue:
`cat` doesn't page the output... how can I make `bat` work the same?
So, I feel like I must be an idiot because I can't find anything about this anywhere.

In the README, it states,

> * Be a drop-in replacement for (POSIX) `cat`

as a goal... but it clearly isn't. `cat` doesn't page output. I want `bat` to work the same way by default. Is there some way to achieve this behavior? To be clear, I want to **disable automatic paging** because I use tools which depend on `cat` output not being paged (e.g. `yay`/`paru`).


Discussion / hints:
There's a note about how to disable paging at https://github.com/sharkdp/bat/blob/master/README.md#colors
Perhaps not the most obvious place to find it, sorry to hear that it made you feel like an idiot, thanks for the feedback. Its also possible to set the behaviour in the config file: https://github.com/sharkdp/bat#configuration-file 
Hooray! I knew I was an idiot!

Fix patch:
diff --git a/README.md b/README.md
index f04e6a1cd9..8a51a8e8eb 100644
--- a/README.md
+++ b/README.md
@@ -38,14 +38,14 @@ characters:
 
 ### Automatic paging
 
-`bat` can pipe its own output to a pager (e.g `less`) if the output is too large for one screen.
+By default, `bat` pipes its own output to a pager (e.g `less`) if the output is too large for one screen.
+If you would rather `bat` work like `cat` all the time (never page output), you can set `--paging=never` as an option, either on the command line or in your configuration file.
+If you intend to alias `cat` to `bat` in your shell configuration, you can use `alias cat='bat --paging=never'` to preserve the default behavior.
 
-### File concatenation
+#### File concatenation
 
-Oh.. you can also use it to concatenate files :wink:. Whenever
-`bat` detects a non-interactive terminal (i.e. when you pipe into another process
-or into a file), `bat` will act as a drop-in replacement for `cat` and
-fall back to printing the plain file contents.
+Even with a pager set, you can still use `bat` to concatenate files :wink:.
+Whenever `bat` detects a non-interactive terminal (i.e. when you pipe into another process or into a file), `bat` will act as a drop-in replacement for `cat` and fall back to printing the plain file contents, regardless of the `--pager` option's value.
 
 ## How to use
 


Test patch: