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.
This commit is contained in:
@@ -96,6 +96,7 @@ export LESS_TERMCAP_so=$'\E[01;44;33m'
|
|||||||
export LESS_TERMCAP_ue=$'\e[0m'
|
export LESS_TERMCAP_ue=$'\e[0m'
|
||||||
export LESS_TERMCAP_us=$'\e[1;4;31m'
|
export LESS_TERMCAP_us=$'\e[1;4;31m'
|
||||||
|
|
||||||
|
unset LESS
|
||||||
# Enable mouse wheel support
|
# Enable mouse wheel support
|
||||||
LESS+="${LESS:+ }--mouse --wheel-lines=3"
|
LESS+="${LESS:+ }--mouse --wheel-lines=3"
|
||||||
# Display ANSI color escape sequences
|
# Display ANSI color escape sequences
|
||||||
|
|||||||
Reference in New Issue
Block a user