mirror of
https://github.com/sharkdp/bat.git
synced 2024-09-06 11:21:30 +02:00
29 lines
657 B
Markdown
29 lines
657 B
Markdown
# bat
|
|
|
|
[![Build Status](https://travis-ci.org/sharkdp/bat.svg?branch=master)](https://travis-ci.org/sharkdp/bat)
|
|
[![Version info](https://img.shields.io/crates/v/bat.svg)](https://crates.io/crates/bat)
|
|
|
|
*A cat(1) clone with wings.*
|
|
|
|
## Features
|
|
|
|
### Syntax highlighting
|
|
|
|
![bat src/main.rs](https://i.imgur.com/bcnFRSl.png)
|
|
|
|
![bat src/example.js](https://i.imgur.com/uyBewNX.png)
|
|
|
|
### Git integration
|
|
|
|
![bat src/index.html](https://i.imgur.com/yBQ31jm.png)
|
|
|
|
## Installation
|
|
|
|
```
|
|
cargo install bat
|
|
|
|
mkdir -p ~/.config/bat/themes
|
|
cd ~/.config/bat/themes
|
|
wget https://raw.githubusercontent.com/cj/sublime/master/Color%20Scheme%20-%20Default/Monokai.tmTheme
|
|
```
|