Always use 'batcat' in info.sh, if needed

This commit is contained in:
sharkdp 2020-07-25 22:28:22 +02:00
parent 0e38c1728e
commit f5d606c4fc
1 changed files with 1 additions and 1 deletions

2
diagnostics/info.sh vendored
View File

@ -58,7 +58,7 @@ _bat_:run() {
_out "$BAT" --version
_out env | grep '^BAT_\|^PAGER='
local cache_dir="$(bat --cache-dir)"
local cache_dir="$($BAT --cache-dir)"
if [[ -f "${cache_dir}/syntaxes.bin" ]]; then
_print_command "$BAT" "--list-languages"
echo "Found custom syntax set."