mirror of
https://github.com/sharkdp/bat.git
synced 2025-03-14 06:38:24 +00:00
Turn off line numbers to preserve the default behavior of cat
This commit is contained in:
parent
6a6b02117b
commit
b35a74b73a
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user