소스 검색

Add less syntax highlighting

Weiyi Lou 9 년 전
부모
커밋
49c28f31d7
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      shell/common/less.sh

+ 3 - 0
shell/common/less.sh

@@ -0,0 +1,3 @@
+if srchilitepath=$(command -v src-hilite-lesspipe.sh); then
+  export LESSOPEN="| $srchilitepath %s"
+fi