Turn off line numbers to preserve the default behavior of cat

This commit is contained in:
nazdridoy 2024-02-22 03:08:46 +06:00 committed by GitHub
parent 6a6b02117b
commit b35a74b73a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -67,7 +67,7 @@ characters:
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.
If you intend to alias `cat` to `bat` in your shell configuration, you can use `alias cat='bat --style=plain --paging=never'` to preserve the default behavior.
#### File concatenation