From b4948ede59258c5a569e6a619ff0d8df70c83cc4 Mon Sep 17 00:00:00 2001
From: Luca Bilke <luca@bil.ke>
Date: Mon, 10 Jun 2024 23:05:02 +0200
Subject: [PATCH] fix syntax highlighting in less

---
 .config/zsh/.zprofile | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)

diff --git a/.config/zsh/.zprofile b/.config/zsh/.zprofile
index 81d3a0cb..61e9d048 100644
--- a/.config/zsh/.zprofile
+++ b/.config/zsh/.zprofile
@@ -37,14 +37,7 @@ export FZF_DEFAULT_OPTS="\
     --color=marker:#9ece6a,spinner:#9ece6a,header:#9ece6a \
 "
 export LESS=-R
-export LESS_TERMCAP_mb="$(printf '%b' '')"
-export LESS_TERMCAP_md="$(printf '%b' '')"
-export LESS_TERMCAP_me="$(printf '%b' '')"
-export LESS_TERMCAP_so="$(printf '%b' '')"
-export LESS_TERMCAP_se="$(printf '%b' '')"
-export LESS_TERMCAP_us="$(printf '%b' '')"
-export LESS_TERMCAP_ue="$(printf '%b' '')"
-export LESSOPEN="| /usr/bin/highlight -O ansi %s 2>/dev/null"
+export LESSOPEN="| /usr/bin/bat -f %s 2>/dev/null"
 export ANSIBLE_NOCOWS=1         # Stop those fucking cows in Ansible
 
 # dotfiles management