test: Add --no-config to bat shimexec

This commit is contained in:
Ethan P 2020-05-06 18:57:04 -07:00
parent f9b18f7e8e
commit e250ad9b29
No known key found for this signature in database
GPG Key ID: 6963FD04F6CF35EA

View File

@ -4,7 +4,7 @@ HERE="$(cd "$(dirname "$0")" && pwd)"
while read -d ':' -r dir; do
if [[ "$dir" == "$HERE" || -z "$dir" ]]; then continue; fi
if [[ -f "${dir}/bat" ]]; then
exec "${dir}/bat" "$@" --theme="Monokai Extended"
exec "${dir}/bat" "$@" --no-config --theme="Monokai Extended"
fi
done <<<"$PATH:"