From f5d606c4fceadd3d3f75c981fcb04cc52b538eb3 Mon Sep 17 00:00:00 2001 From: sharkdp Date: Sat, 25 Jul 2020 22:28:22 +0200 Subject: [PATCH] Always use 'batcat' in info.sh, if needed --- diagnostics/info.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/diagnostics/info.sh b/diagnostics/info.sh index 92c25f8a..bf4eb4d8 100755 --- a/diagnostics/info.sh +++ b/diagnostics/info.sh @@ -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."