瀏覽代碼

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