diff --git a/dot_config/profile/env.d/base.env.tmpl b/dot_config/profile/env.d/base.env.tmpl index 8142db5..39d8fa0 100644 --- a/dot_config/profile/env.d/base.env.tmpl +++ b/dot_config/profile/env.d/base.env.tmpl @@ -16,10 +16,10 @@ EDITOR=vim #{{- end }}# #{{ if lookPath "bat" -}}# -BAT_PAGER=never +BAT_PAGER="less --raw-control-chars --quit-if-one-screen --no-init" BAT_STYLE=plain BAT_THEME=zenburn -MANPAGER="sh -c 'col -bx | bat -l man -p'" +MANPAGER="sh -c 'col -bx | bat --language man --plain'" #{{ end -}}# #{{ if eq .chezmoi.os "darwin" -}}# diff --git a/dot_config/profile/profile.d/alias.sh.tmpl b/dot_config/profile/profile.d/alias.sh.tmpl index 116b623..8058ff6 100644 --- a/dot_config/profile/profile.d/alias.sh.tmpl +++ b/dot_config/profile/profile.d/alias.sh.tmpl @@ -30,5 +30,5 @@ alias egrep='egrep --color=auto' #{{ if lookPath "bat" -}} alias batdiff='batdiff --pager=""' -alias cat=bat +alias cat='bat --paging=never' #{{- end }}