diff --git a/zsh/.zshrc b/zsh/.zshrc index 1b50348..803f25a 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -17,7 +17,6 @@ alias diff='diff --color=auto' alias grep='grep --color=auto' alias ip='ip --color=auto' -export LESS=-R export LESS_TERMCAP_mb=$'\E[1;31m' # begin blink export LESS_TERMCAP_md=$'\E[1;36m' # begin bold export LESS_TERMCAP_me=$'\E[0m' # reset bold/blink @@ -26,5 +25,6 @@ export LESS_TERMCAP_se=$'\E[0m' # reset reverse video export LESS_TERMCAP_us=$'\E[1;32m' # begin underline export LESS_TERMCAP_ue=$'\E[0m' # reset underline -alias ssh='TERM=xterm ssh' +export LESSOPEN="| /usr/bin/src-hilite-lesspipe.sh %s" +export LESS=' -R '