Parcourir la source

Add less syntax highlighting

Weiyi Lou il y a 9 ans
Parent
commit
49c28f31d7
1 fichiers modifiés avec 3 ajouts et 0 suppressions
  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