Clone of https://github.com/fdellwing/zsh-bat modified to work with mandoc/mdocml man pages.
Go to file
Rudis Muiznieks 2d891a0851
fix for mandoc
2024-05-16 08:43:05 -05:00
LICENSE Initial commit 2020-09-23 09:27:11 +02:00
README.md add plugin and readme 2020-09-23 09:38:28 +02:00
manbat fix for mandoc 2024-05-16 08:43:05 -05:00
zsh-bat.plugin.zsh fix for mandoc 2024-05-16 08:43:05 -05:00

README.md

zsh-bat

oh-my-zsh plugin for easy integration with bat.

Prerequisites

You should have bat installed, this plugin will do nothing otherwise.

Install

Create a new directory in $ZSH_CUSTOM/plugins called zsh-bat and clone this repo into that directory.

git clone https://github.com/fdellwing/zsh-bat.git $ZSH_CUSTOM/plugins/zsh-bat

Add zsh-bat to your plugin list in ~/.zshrc.

Usage

This plugin will replace cat with bat. To run the real cat command, you can use rcat. It will also enable syntax highlighting for the man command.

For usage help with bat, see sharkdp/bat.