qemush : source-highlight failsafe

This commit is contained in:
Ahurac 2023-12-13 12:13:47 +01:00
parent 4f74bfcb46
commit 87498f7bb8

View file

@ -19,7 +19,7 @@ EDITOR="${EDITOR:-nvim}"
alias ls='ls --color=auto'
alias exec='exec '
if [ -t 1 ]; then
alias pretty_cat='source-highlight -f esc --style-file=esc.style -i'
alias pretty_cat='source-highlight --failsafe -f esc --style-file=esc.style -i'
else
alias pretty_cat=cat
fi