From d42f6224f2643fefc33c7af12fc8d84e280a23bf Mon Sep 17 00:00:00 2001 From: Joel Beckmeyer Date: Wed, 11 Sep 2024 09:29:29 -0400 Subject: [PATCH] fix chezmoi diff pager --- .chezmoi.yaml.tmpl | 2 ++ dot_config/environment | 3 +++ 2 files changed, 5 insertions(+) diff --git a/.chezmoi.yaml.tmpl b/.chezmoi.yaml.tmpl index e22f469..f1f2a08 100644 --- a/.chezmoi.yaml.tmpl +++ b/.chezmoi.yaml.tmpl @@ -2,3 +2,5 @@ sourceDir: ~/repos/dotfiles merge: command: vim args: "-d" +diff: + pager: "less" diff --git a/dot_config/environment b/dot_config/environment index 8e286cf..41057ac 100644 --- a/dot_config/environment +++ b/dot_config/environment @@ -7,6 +7,9 @@ export EDITOR=nvim export SUDO_EDITOR=nvim +# pager +export LESS=-R + # wayland export MOZ_ENABLE_WAYLAND=1 export QT_QPA_PLATFORM=wayland