Преглед изворни кода

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