Browse Source

fix src_hilite_lp path

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

+ 1
- 1
bashrc View File

@@ -95,8 +95,8 @@ else
fi fi
export LESS="-iRMX" export LESS="-iRMX"


# _src_hilite_lp_path="`which src-hilite-lesspipe.sh 2>/dev/null`"
# Style for lesspipe is defined in esc.style # Style for lesspipe is defined in esc.style
_src_hilite_lp_path="`which src-hilite-lesspipe.sh 2>/dev/null`"
for f in /usr/share/source-highlight/src-hilite-lesspipe.sh for f in /usr/share/source-highlight/src-hilite-lesspipe.sh
do do
test -z "$_src_hilite_lp_path" && test -e "$f" && _src_hilite_lp_path="$f" test -z "$_src_hilite_lp_path" && test -e "$f" && _src_hilite_lp_path="$f"


Loading…
Cancel
Save