on master help sign in
Removed confusing variable from examples in README.md
d3d795fLavi Blumberg
README.md+4−8
@@ -262,10 +262,8 @@ and theme. To add new syntax definitions, do the following.
262Create a folder with syntax definition files:
262Create a folder with syntax definition files:
263
263
264```bash
264```bash
265−BAT_CONFIG_DIR="$(bat cache --config-dir)"
266−
267−mkdir -p "$BAT_CONFIG_DIR/syntaxes"
265+mkdir -p "$(bat cache --config-dir)/syntaxes"
268−cd "$BAT_CONFIG_DIR/syntaxes"
266+cd "$(bat cache --config-dir)/syntaxes"
269
267
270# Put new '.sublime-syntax' language definition files
268# Put new '.sublime-syntax' language definition files
271# in this folder (or its subdirectories), for example:
269# in this folder (or its subdirectories), for example:
@@ -292,10 +290,8 @@ This works very similar to how we add new syntax definitions.
292
290
293First, create a folder with the new syntax highlighting themes:
291First, create a folder with the new syntax highlighting themes:
294```bash
292```bash
295−BAT_CONFIG_DIR="$(bat cache --config-dir)"
296−
297−mkdir -p "$BAT_CONFIG_DIR/themes"
293+mkdir -p "$(bat cache --config-dir)/themes"
298−cd "$BAT_CONFIG_DIR/themes"
294+cd "$(bat cache --config-dir)/themes"
299
295
300# Download a theme in '.tmTheme' format, for example:
296# Download a theme in '.tmTheme' format, for example:
301git clone https://github.com/greggb/sublime-snazzy
297git clone https://github.com/greggb/sublime-snazzy