zsh:zprofile: Always export $LESS* variables

This commit is contained in:
2022-02-03 17:21:37 +01:00
parent 98e9c8abed
commit 771232217e

View File

@@ -62,7 +62,6 @@ elif (( $+commands[nano] )); then
fi
# Less
if (( $+commands[less] )); then
# https://www.tecmint.com/view-colored-man-pages-in-linux/
export LESS_TERMCAP_mb=$'\e[1;32m'
export LESS_TERMCAP_md=$'\e[1;32m'
@@ -76,9 +75,7 @@ if (( $+commands[less] )); then
LESS+="${LESS:+ }--mouse --wheel-lines=3"
# Display ANSI color escape sequences
LESS+="${LESS:+ }-R"
export LESS
fi
# Show also hidden files per default but ignore files in '.git' directories.
if (( $+commands[rg] )); then