Closed growler closed 8 months ago
I believe this piece was meant to look like this:
if [[ -r "$HOME/.config/bat/config" ]]; then grep -q -e '^--style' "$HOME/.config/bat/config" || opt+=(--style="${style%% *}") grep -q -e '^--theme' "$HOME/.config/bat/config" || opt+=(--theme="${theme%% *}") else opt+=(--style="${style%% *}" --theme="${theme%% *}") fi
Otherwise, options from LESSCOLORIZER are not applied unless there is a ~/.config/bat/config file.
Thanks, code changed
I believe this piece was meant to look like this:
Otherwise, options from LESSCOLORIZER are not applied unless there is a ~/.config/bat/config file.