summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorsharkdp <davidpeter@web.de>2018-08-20 21:39:21 +0200
committersharkdp <davidpeter@web.de>2018-08-20 21:39:21 +0200
commit052425b12f79aa42b1ca6453725b501be87dcc8d (patch)
tree1d43da1f15e728b43e1c898be388704678a5ea92 /README.md
parent2df3305b94ff85878b61415d6136c8a5b2d3e439 (diff)
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
Diffstat (limited to 'README.md')
-rw-r--r--README.md6
1 files changed, 0 insertions, 6 deletions
diff --git a/README.md b/README.md
index 865d25b5..1898dd44 100644
--- a/README.md
+++ b/README.md
@@ -188,18 +188,12 @@ cd "$BAT_CONFIG_DIR/themes"
# Download a theme in '.tmTheme' format, for example:
git clone https://github.com/greggb/sublime-snazzy
-# Create a link to specify the new default theme
-ln -sf "sublime-snazzy/Sublime Snazzy.tmTheme" Default.tmTheme
-
# Update the binary cache
bat cache --init
```
Finally, use `bat --list-themes` to check if the new themes are available.
-**Note:** Unlike for syntax definitions, adding custom themes currently *removes all default
-themes*. If you want to go back to the default themes, call `bat cache --clear`.
-
### Using a different pager
`bat` uses the pager that is specified in the `PAGER` environment variable. If this variable is not