move bat cat explanation from usage to alias

This commit is contained in:
Aaron Kc Hsu
2020-07-26 21:59:25 -06:00
parent ed959c0161
commit 6e1de0a4ba

View File

@@ -35,6 +35,12 @@ Update your `.bashrc`, `.zshrc`, or `.profile`
alias cat="bat --style=plain"
```
For situations in which you must use `cat` exactly, remember that you can escape the alias:
```bash
\cat foo
```
### How to change the default behavior
Take a look at the config options:
@@ -56,10 +62,4 @@ Edit the config file:
```txt
# no numbers or headers, just highlighting and such
--style="plain"
```
For situations in which you must use `cat` exactly, remember that you can escape the alias:
```bash
\cat foo
```