mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-01-14 04:50:11 +08:00
fix(colorize): bypass less aliases in colorize_less
(#9593)
This commit is contained in:
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
Block a user