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
af8d8df3
Commit
af8d8df3
authored
Mar 30, 2013
by
KokaKiwi
Browse files
Add colored man plugin.
parent
b8b241f6
Changes
1
Show whitespace changes
Inline
Side-by-side
plugins/colored-man/colored-man.plugin.zsh
0 → 100644
View file @
af8d8df3
man
()
{
env
\
LESS_TERMCAP_mb
=
$(
printf
"
\e
[1;31m"
)
\
LESS_TERMCAP_md
=
$(
printf
"
\e
[1;31m"
)
\
LESS_TERMCAP_me
=
$(
printf
"
\e
[0m"
)
\
LESS_TERMCAP_se
=
$(
printf
"
\e
[0m"
)
\
LESS_TERMCAP_so
=
$(
printf
"
\e
[1;44;33m"
)
\
LESS_TERMCAP_ue
=
$(
printf
"
\e
[0m"
)
\
LESS_TERMCAP_us
=
$(
printf
"
\e
[1;32m"
)
\
man
"
$@
"
}
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