X-Git-Url: https://git.josue.xyz/?a=blobdiff_plain;f=bat%2FREADME.md;h=eab5ec04cfc47e525ee766cf0305521fa9e9ef76;hb=89e0e89d8934850cf3a421034d8a21f15880d864;hp=0abba3fbc436cd335afdebd493782ad4f1e83628;hpb=ed959c0161f22a4ef0e24d2509d5ae7158dfa27c;p=webi-installers%2F.git diff --git a/bat/README.md b/bat/README.md index 0abba3f..eab5ec0 100644 --- a/bat/README.md +++ b/bat/README.md @@ -5,13 +5,7 @@ tagline: | bat: A cat(1) clone with syntax highlighting and Git integration. --- -## Updating `bat` - -```bash -webi bat@stable -``` - -Use the `@beta` tag for pre-releases. +To update or switch versions, run `webi bat@stable` (or `@v0.18`, `@beta`, etc). ## Cheat Sheet @@ -35,6 +29,13 @@ 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: @@ -57,9 +58,3 @@ Edit the config file: # 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 -``` \ No newline at end of file