mirror of https://github.com/ohmyzsh/ohmyzsh.git
fix(colorize): bypass less aliases in `colorize_less` (#9593)
parent
869eb20913
commit
a3bdff694a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue