mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-12-24 13:21:57 +00:00
Merge pull request #4702 from prikhi/master
colored-man-pages: Use Portable `less` Path
This commit is contained in:
commit
5adb06df0e
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ man() {
|
||||||
LESS_TERMCAP_so=$(printf "\e[1;44;33m") \
|
LESS_TERMCAP_so=$(printf "\e[1;44;33m") \
|
||||||
LESS_TERMCAP_ue=$(printf "\e[0m") \
|
LESS_TERMCAP_ue=$(printf "\e[0m") \
|
||||||
LESS_TERMCAP_us=$(printf "\e[1;32m") \
|
LESS_TERMCAP_us=$(printf "\e[1;32m") \
|
||||||
PAGER=/usr/bin/less \
|
PAGER="${commands[less]:-$PAGER}" \
|
||||||
_NROFF_U=1 \
|
_NROFF_U=1 \
|
||||||
PATH="$HOME/bin:$PATH" \
|
PATH="$HOME/bin:$PATH" \
|
||||||
man "$@"
|
man "$@"
|
||||||
|
|
Loading…
Reference in a new issue