Unverified Commit a3bdff69 authored by Ruslan Sayfutdinov's avatar Ruslan Sayfutdinov Committed by GitHub
Browse files

fix(colorize): bypass less aliases in `colorize_less` (#9593)

parent 869eb209
......@@ -96,7 +96,7 @@ colorize_less() {
# which assumes that his LESSOPEN has been executed.
local LESSCLOSE=""
LESS="$LESS" LESSOPEN="$LESSOPEN" LESSCLOSE="$LESSCLOSE" less "$@"
LESS="$LESS" LESSOPEN="$LESSOPEN" LESSCLOSE="$LESSCLOSE" command less "$@"
}
if [ -t 0 ]; then
......
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