mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-06-21 01:58:08 +02: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.
|
# which assumes that his LESSOPEN has been executed.
|
||||||
local LESSCLOSE=""
|
local LESSCLOSE=""
|
||||||
|
|
||||||
LESS="$LESS" LESSOPEN="$LESSOPEN" LESSCLOSE="$LESSCLOSE" less "$@"
|
LESS="$LESS" LESSOPEN="$LESSOPEN" LESSCLOSE="$LESSCLOSE" command less "$@"
|
||||||
}
|
}
|
||||||
|
|
||||||
if [ -t 0 ]; then
|
if [ -t 0 ]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user