X-Git-Url: https://git.josue.xyz/?a=blobdiff_plain;f=bat%2FREADME.md;h=090f165e2bcc1ad7ee9698af3a5e7b3724e1ea96;hb=b4358b80d203d961f0178cb0f49741395b7180d6;hp=878fda46c944ae4bdd82a734b117a623f9487894;hpb=7fd81bbd903eb097d4897ea3a9d5030123ce735a;p=webi-installers%2F.git diff --git a/bat/README.md b/bat/README.md index 878fda4..090f165 100644 --- a/bat/README.md +++ b/bat/README.md @@ -3,10 +3,21 @@ title: bat homepage: https://github.com/sharkdp/bat tagline: | bat: A cat(1) clone with syntax highlighting and Git integration. -description: | - `bat` is pretty much what `cat` would be if it were developed today's in the world of Markdown, git, etc. --- +## Updating `bat` + +```bash +webi bat@stable +``` + +Use the `@beta` tag for pre-releases. + +## Cheat Sheet + +> `bat` is pretty much what `cat` would be if it were developed today's in the +> world of Markdown, git, etc. + ### How to run on Windows 10 On Windows 10 you'll get an error like this: @@ -24,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: