on master help sign in
Removed confusing variable from examples in README.md

Removed confusing the variable `BAT_CONFIG_DIR` from examples because it is not a real configuration option for bat.

commitd3d795ffb2adad97d507192f21225f1382559d99 authorLavi Blumberg <lavifb@gmail.com> dateSun 2 Dec 2018, 13:18 (8 years ago) parent0571c51
1 file changed+4−8
README.md+4−8
README.md+4−8
@@ -262,10 +262,8 @@ and theme. To add new syntax definitions, do the following.
262262Create a folder with syntax definition files:
263263
264264```bash
265−BAT_CONFIG_DIR="$(bat cache --config-dir)"
266−
267−mkdir -p "$BAT_CONFIG_DIR/syntaxes"
268−cd "$BAT_CONFIG_DIR/syntaxes"
265+mkdir -p "$(bat cache --config-dir)/syntaxes"
266+cd "$(bat cache --config-dir)/syntaxes"
269267
270268# Put new '.sublime-syntax' language definition files
271269# in this folder (or its subdirectories), for example:
@@ -292,10 +290,8 @@ This works very similar to how we add new syntax definitions.
292290
293291First, create a folder with the new syntax highlighting themes:
294292```bash
295−BAT_CONFIG_DIR="$(bat cache --config-dir)"
296−
297−mkdir -p "$BAT_CONFIG_DIR/themes"
298−cd "$BAT_CONFIG_DIR/themes"
293+mkdir -p "$(bat cache --config-dir)/themes"
294+cd "$(bat cache --config-dir)/themes"
299295
300296# Download a theme in '.tmTheme' format, for example:
301297git clone https://github.com/greggb/sublime-snazzy