mirror of
https://github.com/sharkdp/bat.git
synced 2024-12-31 10:48:53 +01:00
Small update to README
This commit is contained in:
parent
f5a9236a47
commit
65f66d0bee
@ -51,6 +51,7 @@ cargo install bat
|
|||||||
To build your own language-set and theme, follow these steps:
|
To build your own language-set and theme, follow these steps:
|
||||||
|
|
||||||
Create a folder with a syntax highlighting theme:
|
Create a folder with a syntax highlighting theme:
|
||||||
|
|
||||||
``` bash
|
``` bash
|
||||||
mkdir -p ~/.config/bat/themes
|
mkdir -p ~/.config/bat/themes
|
||||||
cd ~/.config/bat/themes
|
cd ~/.config/bat/themes
|
||||||
@ -63,6 +64,7 @@ ln -s "sublime-monokai-extended/Monokai Extended.tmTheme" Default.tmTheme
|
|||||||
```
|
```
|
||||||
|
|
||||||
Create a folder with language definition files:
|
Create a folder with language definition files:
|
||||||
|
|
||||||
``` bash
|
``` bash
|
||||||
mkdir -p ~/.config/bat/syntax
|
mkdir -p ~/.config/bat/syntax
|
||||||
cd ~/.config/bat/syntax
|
cd ~/.config/bat/syntax
|
||||||
@ -75,6 +77,7 @@ git clone https://github.com/jonschlinkert/sublime-markdown-extended
|
|||||||
|
|
||||||
Finally, use the following command to parse all these files into a binary
|
Finally, use the following command to parse all these files into a binary
|
||||||
cache:
|
cache:
|
||||||
|
|
||||||
``` bash
|
``` bash
|
||||||
bat init-cache
|
bat init-cache
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user