mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-11 00:10:08 +00:00
fix(colorize): bypass less aliases in colorize_less
(#9593)
This commit is contained in:
parent
869eb20913
commit
a3bdff694a
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue