Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

added less's source code hightligh setting

  • Loading branch information...
commit d0771ac368144047d0b963d9ea557a96bb535886 1 parent 5550dbd
@afukuhara authored
Showing with 8 additions and 0 deletions.
  1. +8 −0 .zshrc
View
8 .zshrc
@@ -189,3 +189,11 @@ source /Users/arinobu/.pythonbrew/etc/bashrc
# ---------------------------------------------------------
source ~/.zsh/plugin/incr*.zsh
+
+# ---------------------------------------------------------
+# less source code highlight
+# From: http://blog.elliptium.net/2011/11/less-homebrew
+# ---------------------------------------------------------
+export LESS='-R'
+export LESSOPEN='| /usr/local/bin/src-hilite-lesspipe.sh %s'
+
Please sign in to comment.
Something went wrong with that request. Please try again.