Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Ohmyzsh
Commits
530056d5
Commit
530056d5
authored
Jan 19, 2020
by
James Wright
Committed by
Marc Cornellà
Jan 19, 2020
Browse files
colored-man-pages: force `env` command (#8551)
Invoke `env` via `command` to ignore shell functions and aliases.
parent
ce298d09
Changes
1
Show whitespace changes
Inline
Side-by-side
plugins/colored-man-pages/colored-man-pages.plugin.zsh
View file @
530056d5
...
...
@@ -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"
)
\
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment