Explorar o código

Add less syntax highlighting

Weiyi Lou %!s(int64=9) %!d(string=hai) anos
pai
achega
49c28f31d7
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  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