Commit 530056d5 authored by James Wright's avatar James Wright Committed by Marc Cornellà
Browse files

colored-man-pages: force `env` command (#8551)

Invoke `env` via `command` to ignore shell functions and aliases.
parent ce298d09
......@@ -17,7 +17,7 @@ EOF
fi
function colored() {
env \
command env \
LESS_TERMCAP_mb=$(printf "\e[1;31m") \
LESS_TERMCAP_md=$(printf "\e[1;31m") \
LESS_TERMCAP_me=$(printf "\e[0m") \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment