mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2026-10-02 16:03:47 +02:00
colored-man-pages: force env command (#8551)
Invoke `env` via `command` to ignore shell functions and aliases.
This commit is contained in:
1 parent
ce298d090b
commit
530056d50d
1 file changed
+1
-1
@@ -17,7 +17,7 @@ EOF
|
||||
fi
|
||||
|
||||
function colored() {
|
||||
env \
|
||||
command env \
|
||||
LESS_TERMCAP_mb=$(printf "\e[1;31m") \
|
||||
LESS_TERMCAP_md=$(printf "\e[1;31m") \
|
||||
LESS_TERMCAP_me=$(printf "\e[0m") \
|
||||
|
||||
Reference in new issue
Block a user