@@ -255,10 +255,8 @@ bat --list-themes | fzf --preview="bat --theme={} --color=always /path/to/file"
255構文定義ファイルを入れておくためのフォルダを作る:
255構文定義ファイルを入れておくためのフォルダを作る:
258−BAT_CONFIG_DIR="$(bat cache --config-dir)"
260−mkdir -p "$BAT_CONFIG_DIR/syntaxes"
258+mkdir -p "$(bat cache --config-dir)/syntaxes"
261−cd "$BAT_CONFIG_DIR/syntaxes"
259+cd "$(bat cache --config-dir)/syntaxes"
263# Put new '.sublime-syntax' language definition files
261# Put new '.sublime-syntax' language definition files
264# in this folder (or its subdirectories), for example:
262# in this folder (or its subdirectories), for example:
@@ -284,10 +282,8 @@ bat cache --clear
285まず、新しいシンタックスハイライトのテーマのフォルダを作ります:
283まず、新しいシンタックスハイライトのテーマのフォルダを作ります:
287−BAT_CONFIG_DIR="$(bat cache --config-dir)"
289−mkdir -p "$BAT_CONFIG_DIR/themes"
285+mkdir -p "$(bat cache --config-dir)/themes"
290−cd "$BAT_CONFIG_DIR/themes"
286+cd "$(bat cache --config-dir)/themes"
292# Download a theme in '.tmTheme' format, for example:
288# Download a theme in '.tmTheme' format, for example:
293git clone https://github.com/greggb/sublime-snazzy
289git clone https://github.com/greggb/sublime-snazzy