Commit 5adb06df authored by Marc Cornellà's avatar Marc Cornellà
Browse files

Merge pull request #4702 from prikhi/master

colored-man-pages: Use Portable `less` Path
parents 6ad6d114 3ebbb40b
......@@ -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 "$@"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment