From 5bfe3d25a06525ed986627ea82877bd78481161b Mon Sep 17 00:00:00 2001 From: Grégoire Duchêne Date: Sat, 3 Jan 2026 23:59:02 +0000 Subject: zsh: Add some defaults for ‘less’ MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- zsh/rc | 1 + 1 file changed, 1 insertion(+) diff --git a/zsh/rc b/zsh/rc index 2a26cd6..7e71a48 100644 --- a/zsh/rc +++ b/zsh/rc @@ -59,6 +59,7 @@ if [[ -S ${XDG_RUNTIME_DIR}/emacs/server ]]; then else export EDITOR=vim fi +export LESS='--RAW-CONTROL-CHARS --clear-screen --ignore-case --use-color' export LESSHISTFILE=${XDG_CACHE_HOME}/less_history export PYTHONSTARTUP=$(dotfiles_root)/python/rc export SQLITE_HISTORY=${XDG_CACHE_HOME}/sqlite_history -- cgit v1.2.3-70-g09d2