Browse Source

shrc: add manpath

pull/1/head
10sr 10 years ago
parent
commit
973a6e49b2
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      shrc

+ 2
- 0
shrc View File

@@ -623,6 +623,7 @@ s(){
fi fi
} }


MYMANPATH='/usr/lib/erlang/man'
if $inbash || $inzsh if $inbash || $inzsh
then then
man(){ man(){
@@ -634,6 +635,7 @@ then
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") \
MANPATH="`manpath`:$MYMANPATH" \
man "$@" man "$@"
} }
fi fi


Loading…
Cancel
Save