on master help sign in
Always use 'batcat' in info.sh, if needed
commitf5d606c4fceadd3d3f75c981fcb04cc52b538eb3 authorsharkdp <davidpeter@web.de> dateSat 25 Jul 2020, 22:28 (6 years ago) parent0e38c17
1 file changed+1−1
diagnostics/info.sh+1−1
diagnostics/info.sh+1−1
@@ -58,7 +58,7 @@ _bat_:run() {
5858 _out "$BAT" --version
5959 _out env | grep '^BAT_\|^PAGER='
6060
61− local cache_dir="$(bat --cache-dir)"
61+ local cache_dir="$($BAT --cache-dir)"
6262 if [[ -f "${cache_dir}/syntaxes.bin" ]]; then
6363 _print_command "$BAT" "--list-languages"
6464 echo "Found custom syntax set."