1
0
mirror of https://github.com/sharkdp/bat.git synced 2025-09-01 19:02:22 +01:00

Move config-dir and cache-dir from 'bat cache' to 'bat'

This commit is contained in:
sharkdp
2019-02-07 22:37:12 +01:00
committed by David Peter
parent cff01d81fa
commit e09499b3df
4 changed files with 27 additions and 24 deletions

View File

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