on master help sign in
Always use 'batcat' in info.sh, if needed
f5d606csharkdp
diagnostics/info.sh+1−1
@@ -58,7 +58,7 @@ _bat_:run() {
58 _out "$BAT" --version
58 _out "$BAT" --version
59 _out env | grep '^BAT_\|^PAGER='
59 _out env | grep '^BAT_\|^PAGER='
60
60
61− local cache_dir="$(bat --cache-dir)"
61+ local cache_dir="$($BAT --cache-dir)"
62 if [[ -f "${cache_dir}/syntaxes.bin" ]]; then
62 if [[ -f "${cache_dir}/syntaxes.bin" ]]; then
63 _print_command "$BAT" "--list-languages"
63 _print_command "$BAT" "--list-languages"
64 echo "Found custom syntax set."
64 echo "Found custom syntax set."