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
5adb06df
Commit
5adb06df
authored
Dec 15, 2015
by
Marc Cornellà
Browse files
Merge pull request #4702 from prikhi/master
colored-man-pages: Use Portable `less` Path
parents
6ad6d114
3ebbb40b
Changes
1
Hide whitespace changes
Inline
Side-by-side
plugins/colored-man-pages/colored-man-pages.plugin.zsh
View file @
5adb06df
...
...
@@ -25,7 +25,7 @@ man() {
LESS_TERMCAP_so
=
$(
printf
"
\e
[1;44;33m"
)
\
LESS_TERMCAP_ue
=
$(
printf
"
\e
[0m"
)
\
LESS_TERMCAP_us
=
$(
printf
"
\e
[1;32m"
)
\
PAGER
=
/usr/bin/less
\
PAGER
=
"
${
commands
[less]
:-
$PAGER
}
"
\
_NROFF_U
=
1
\
PATH
=
"
$HOME
/bin:
$PATH
"
\
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