summaryrefslogtreecommitdiffstats
path: root/diagnostics
diff options
context:
space:
mode:
authorsharkdp <davidpeter@web.de>2020-07-25 22:28:22 +0200
committersharkdp <davidpeter@web.de>2020-07-25 22:28:22 +0200
commitf5d606c4fceadd3d3f75c981fcb04cc52b538eb3 (patch)
tree73a3248b3e1e6b09dd95b670e6d0ed13ec6a06c2 /diagnostics
parent0e38c1728e65902f72bb53bb100275b01145f79d (diff)
Always use 'batcat' in info.sh, if needed
Diffstat (limited to 'diagnostics')
-rwxr-xr-xdiagnostics/info.sh2
1 files changed, 1 insertions, 1 deletions
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."