summaryrefslogtreecommitdiff
path: root/zsh
diff options
context:
space:
mode:
authorGrégoire Duchêne <greg@awhk.org>2026-01-03 23:59:02 +0000
committerGrégoire Duchêne <greg@awhk.org>2026-01-04 00:00:31 +0000
commit5bfe3d25a06525ed986627ea82877bd78481161b (patch)
tree7634da1b339e129e2c7404dc3285325587d61bfc /zsh
parent2d693713d6fad254c0e6b142ee78bcf56735df1f (diff)
zsh: Add some defaults for ‘less’
Diffstat (limited to 'zsh')
-rw-r--r--zsh/rc1
1 files changed, 1 insertions, 0 deletions
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