Browse Source

use src-hilite if available for less

pull/1/head
10sr 11 years ago
parent
commit
8aa5491c36
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      bashrc

+ 6
- 0
bashrc View File

@@ -46,6 +46,12 @@ else
fi
export LESS="-iRMX"

_src_hilite_lp_path="`which src-hilite-lesspipe.sh 2>/dev/null`"
if test -n "$_src_hilite_lp_path"
then
export LESSOPEN="| $_src_hilite_lp_path %s"
fi

if null type vim
then
export EDITOR=vim


Loading…
Cancel
Save