From 0cf0bdf82aa3ac700d4fe137fc8876057a374f73 Mon Sep 17 00:00:00 2001 From: Julian Prein Date: Wed, 30 Oct 2024 10:33:30 +0100 Subject: [PATCH] zprofile: Clear LESS before setting I just checked on an open shell and noticed that LESS contained what I meant to put in thrice. Don't know if that has something to do with tmux, but apparently the zprofile is sourced multiple times? - good to know. --- .config/zsh/.zprofile | 1 + 1 file changed, 1 insertion(+) diff --git a/.config/zsh/.zprofile b/.config/zsh/.zprofile index 279d6f5..eb59797 100644 --- a/.config/zsh/.zprofile +++ b/.config/zsh/.zprofile @@ -96,6 +96,7 @@ export LESS_TERMCAP_so=$'\E[01;44;33m' export LESS_TERMCAP_ue=$'\e[0m' export LESS_TERMCAP_us=$'\e[1;4;31m' +unset LESS # Enable mouse wheel support LESS+="${LESS:+ }--mouse --wheel-lines=3" # Display ANSI color escape sequences