on master help sign in
Update install instructions, closes #16
commit50be143c6294bfff2773c798a2ec83437a8e6333 authorsharkdp <davidpeter@web.de> dateMon 30 Apr 2018, 15:40 (9 years ago) parent59fabd8
1 file changed+4−22
README.md+4−22
README.md+4−22
@@ -23,30 +23,12 @@
2323
2424Check out the [Release page](https://github.com/sharkdp/bat/releases) for binary builds and Debian packages.
2525
26+### From source
27+
2628If you want to build to compile `bat` from source, you need Rust 1.22 or higher.
27−You can then use `cargo` to build everything:
29+Make sure that you have the devel-version of libopenssl installed (see instructions
30+[here](https://github.com/sfackler/rust-openssl)). You can then use `cargo` to build everything:
2831
2932``` bash
3033cargo install bat
3134```
32−
33−### Get themes and syntax highlighting definitions
34−
35−`bat` uses the excellent [`syntect`](https://github.com/trishume/syntect/) library for syntax highlighting. `syntect` uses Sublime Text language definitions and themes.
36−
37−To get a big package of languages and a Monokai-variant as a theme, run:
38−
39−``` bash
40−mkdir -p ~/.config/bat/themes
41−cd ~/.config/bat/themes
42−git clone https://github.com/jonschlinkert/sublime-monokai-extended
43−ln -s "sublime-monokai-extended/Monokai Extended.tmTheme" Default.tmTheme
44−
45−mkdir -p ~/.config/bat/syntax
46−cd ~/.config/bat/syntax
47−git clone https://github.com/sublimehq/Packages/
48−rm -rf Packages/Markdown
49−git clone https://github.com/jonschlinkert/sublime-markdown-extended
50−
51−bat init-cache
52−```