Pārlūkot izejas kodu

Add less syntax highlighting

Weiyi Lou 9 gadi atpakaļ
vecāks
revīzija
49c28f31d7
1 mainītis faili ar 3 papildinājumiem un 0 dzēšanām
  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