We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0c660a3 + a6a320d commit 8084cbbCopy full SHA for 8084cbb
plugins/available/man.plugin.bash
@@ -1,14 +1,9 @@
1
# shellcheck shell=bash
2
about-plugin 'colorize man pages for better readability'
3
4
-: "${LESS_TERMCAP_mb:=$'\e[1;32m'}"
5
-: "${LESS_TERMCAP_md:=$'\e[1;32m'}"
6
-: "${LESS_TERMCAP_me:=$'\e[0m'}"
7
-: "${LESS_TERMCAP_se:=$'\e[0m'}"
8
-: "${LESS_TERMCAP_so:=$'\e[01;33m'}"
9
-: "${LESS_TERMCAP_ue:=$'\e[0m'}"
10
-: "${LESS_TERMCAP_us:=$'\e[1;4;31m'}"
11
-
12
-: "${LESS:=}"
13
-export "${!LESS_TERMCAP@}"
14
-export LESS="--RAW-CONTROL-CHARS ${LESS}"
+alias man="\
+LESS_TERMCAP_mb=$'\e[1;32m' \
+LESS_TERMCAP_md=$'\e[1;32m' LESS_TERMCAP_me=$'\e[0m' \
+LESS_TERMCAP_se=$'\e[0m' LESS_TERMCAP_so=$'\e[01;33m' \
+LESS_TERMCAP_ue=$'\e[0m' LESS_TERMCAP_us=$'\e[1;4;31m' \
+LESS=--RAW-CONTROL-CHARS \man"
0 commit comments