@@ -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:
265−BAT_CONFIG_DIR="$(bat cache --config-dir)"
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"
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.
293First, create a folder with the new syntax highlighting themes:
291First, create a folder with the new syntax highlighting themes:
295−BAT_CONFIG_DIR="$(bat cache --config-dir)"
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"
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