소스 검색

fix src_hilite_lesspipe

pull/1/head
10sr 10 년 전
부모
커밋
7bc9da718a
1개의 변경된 파일6개의 추가작업 그리고 5개의 파일을 삭제
  1. +6
    -5
      bashrc

+ 6
- 5
bashrc 파일 보기

@@ -95,11 +95,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
# _src_hilite_lp_path="`which src-hilite-lesspipe.sh 2>/dev/null`"
for f in /usr/share/source-highlight/src-hilite-lesspipe.sh
do
test -z "$_src_hilite_lp_path" && test -e "$f" && _src_hilite_lp_path="$f"
done
test -n "$_src_hilite_lp_path" && export LESSOPEN="| $_src_hilite_lp_path %s"

if null type vim
then


불러오는 중...
취소
저장