profile: use bat -p instead of -pp

This commit is contained in:
fanyx 2025-06-11 16:52:20 +02:00
parent 8854e02b5e
commit bcb15e8d05
Signed by: fanyx
SSH key fingerprint: SHA256:Gwc2cuQkLEIzOapSR+R8raHvC1bSAkPsYuPqlPoFlD8

View file

@ -8,7 +8,7 @@ export BROWSER
: ${VISUAL:="$EDITOR"}
export EDITOR VISUAL
: ${PAGER:="$(command -v bat) -pp"}
: ${PAGER:="$(command -v bat 2>/dev/null) -p"}
export PAGER
for x in \