Files
vim-ale/bat
AJ ONeal 9f28505af7 ref: delete unreachable upstream-fetcher modules
Stacked on the modifications PR. Now that no live code path references
the per-package fetchers, the shared HTTP/parsing helpers, the
in-process normalizer, or the example template, delete them. Pure
deletion — no behavior change.

- ~93 per-package <pkg>/releases.js fetcher modules.
- _common/{brew,fetcher,git-tag,gitea,github,github-source,
  githubish,githubish-source}.js shared HTTP/parsing helpers.
- _webi/normalize.js in-process normalization layer (cache files
  arrive normalized from webicached).
- _example/releases.js fetcher template for new packages.

The Go cache daemon (webicached) is now the sole producer of release
metadata; the Node process never makes an upstream request.
2026-05-08 16:31:59 -06:00
..
2026-03-08 19:38:49 -06:00
2023-11-11 13:24:02 -07:00

title, homepage, tagline
title homepage tagline
bat https://github.com/sharkdp/bat bat: A cat(1) clone with syntax highlighting and Git integration.

To update or switch versions, run webi bat@stable (or @v0.18, @beta, etc).

Files

These are the files / directories that are created and/or modified with this install:

~/.config/envman/PATH.env
~/.config/bat/config
~/.local/opt/bat/

Windows Users

\Windows\System32\vcruntime140.dll

This will also attempt to install the Microsoft Visual C++ Redistributable via webi vcruntime. If it fails and you get the error vcruntime140.dll was not found, you'll need to install it manually.

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 alias as cat

Use aliasman:

aliasman cat 'bat --style=plain'
alias cat='bat --style=plain'

Or place this in ~/.config/envman/alias.env and manually update your .bashrc, .zshrc, .profile, and/or ~/.config/fish/config.fish to source it.

alias cat="bat --style=plain"

For situations in which you must use cat exactly, remember that you can escape the alias:

\cat foo

How to change the default behavior

Take a look at the config options:

bat --help

Check to see where your config file is:

echo 'N' | bat --generate-config-file

Edit the config file:

~/.config/bat/config:

# no numbers or headers, just highlighting and such
--style="plain"