Commit Graph

247 Commits

Author SHA1 Message Date
sharkdp
052425b12f Load customized themes in addition to defaults
- New themes in `$BAT_CONFIG_DIR/themes` are now loaded *in addition* to
  the default themes (they may also override).
- The `Default.tmTheme` symlink is not necessary anymore.

This relates to #172
2018-08-20 21:39:21 +02:00
sharkdp
1dddce3aa1 Separate syntax set and theme set
This commit separates the handling of syntax sets and theme sets. It
also changes the way how new syntax definitions are loaded from `bat`'s
configuration folder. New syntax definitions are now loaded *in
addition* to the ones that are stored in the `bat` binary by default.

This fixes #172
2018-08-19 11:08:23 +02:00
sharkdp
e5b8c4471a Bump minimum required rust version 2018-08-18 21:30:12 +02:00
sharkdp
a6d6c28723 Add documentation on new pager-customization 2018-08-18 20:22:11 +02:00
sharkdp
94ccc646e8 Update README 2018-07-23 21:58:06 +02:00
David Peter
8b92aae23f
Fix Travis link 2018-07-17 23:37:03 +02:00
Conrad Kleinespel
50209bfe21 updates archlinux install instructions 2018-06-08 16:15:27 +02:00
Ezinwa Okpoechi
69c798eafd Fix command typo 2018-06-01 17:01:28 +02:00
sharkdp
bf5883f06f Updates for 0.4 2018-05-31 22:57:18 +02:00
David Peter
a7f4f202cb
Update README.md 2018-05-30 21:32:40 +02:00
David Peter
397223374a
Add TOC 2018-05-30 21:23:24 +02:00
David Peter
0c2da90fa4
Change color of crates.io badge 2018-05-30 21:10:14 +02:00
David Peter
fe29da6e76
Add license badge 2018-05-30 21:02:40 +02:00
sharkdp
9d92350cbb Use default Markdown syntax, closes #157 2018-05-30 20:40:02 +02:00
sharkdp
5ee8913538 Add logo header to README 2018-05-22 22:39:20 +02:00
sharkdp
17b37fedcb Add project goals and list of alternatives 2018-05-21 00:28:30 +02:00
sharkdp
145b99f01c Include syntaxes and themes in repository
This changes a few things:

- All syntaxes and themes are now stored (as submodules) under
  assets/syntaxes and assets/themes

- The default directories for syntaxes and themes are "syntaxes"
  and "themes" (used to be "syntax" and "themes")

- The "bat cache" command can now take a `--source <dir>` and
  `--target <dir>` option.

- The cached files have been renamed to "themes.bin" and "syntaxes.bin"
2018-05-16 22:04:12 +02:00
Mateusz Piotrowski
9af1d2b891 Add FreeBSD installation instructions
Closes #41.
2018-05-16 20:25:14 +02:00
sharkdp
13a53d230b Add MacOS install instructions, closes #33 2018-05-10 12:35:07 +02:00
David Peter
fdeb98e859
Add usage examples 2018-05-09 00:33:49 +02:00
David Peter
6a417886aa
Add comment about paging & concatenation 2018-05-09 00:12:25 +02:00
sharkdp
ef7c39b159 Improve cache subcommand
* Remove the old `init-cache` subcommand

* Introduce a new `cache` subcommand that can be used like this:

    * `bat cache -h` - Show help
    * `bat cache --init` - Initialize cache from config dir
    * `bat cache --clear` - Reset the cache
    * `bat cache --config-dir` - Show config directory

* Update README

closes #44
2018-05-08 20:11:25 +02:00
sharkdp
da92154163 Re-format README 2018-05-07 20:06:01 +02:00
sharkdp
179bd4f525 Mention cmake in build instructions, closes #57 2018-05-07 20:03:56 +02:00
bspeice
21f9e2b0f7 Bump minimum required version to 1.24
#40
2018-05-03 08:22:31 +02:00
David Peter
92aa2b547e
Update README.md 2018-05-02 23:29:52 +02:00
sharkdp
65f66d0bee Small update to README 2018-05-02 22:21:56 +02:00
sharkdp
edbe8f3e1a Remove openssl dependency 2018-05-02 20:45:07 +02:00
Wesley Moore
8f18567f2d Add Arch Linux installation instructions to README 2018-05-01 10:04:14 +02:00
David Peter
e4d7e004ee
Update README.md 2018-05-01 09:25:13 +02:00
David Peter
7f070c9dcb
Update README.md 2018-04-30 16:05:36 +02:00
sharkdp
64ef61b409 Add customization chapter 2018-04-30 16:03:39 +02:00
David Peter
95a2079bcd
Update README.md 2018-04-30 15:54:03 +02:00
sharkdp
50be143c62 Update install instructions, closes #16 2018-04-30 15:40:51 +02:00
sharkdp
ced6801740 Better error messages 2018-04-30 15:20:00 +02:00
David Peter
1ff46aaaf8
Update README.md 2018-04-30 13:10:50 +02:00
David Peter
203e4f9249
Update README.md 2018-04-26 00:12:49 +02:00
David Peter
22e785ca49
Update README.md 2018-04-26 00:11:10 +02:00
David Peter
fb8ef40f3e
Update README.md 2018-04-26 00:03:25 +02:00
David Peter
0e8e39a59d
Update README.md 2018-04-26 00:02:53 +02:00
sharkdp
58ca1f66d6 Add minimum required rust version
closes #14
2018-04-25 20:49:53 +02:00
sharkdp
a7232a6ecc Support for custom syntaxes, add 'Markdown extended' theme, closes #10 2018-04-24 00:44:39 +02:00
sharkdp
71e40b1963 Add install instructions 2018-04-22 16:15:07 +02:00
David Peter
7f4781cdbf
Add badges 2018-04-22 16:08:49 +02:00
David Peter
8d83da23f0
Update README.md 2018-04-22 15:44:19 +02:00
David Peter
eddd07ea39
Added screenshots 2018-04-22 15:30:28 +02:00
David Peter
e6f823cd88
Add README 2018-04-21 14:23:57 +02:00