From aac0a283491abc951a857fe3b595e4445eff57d0 Mon Sep 17 00:00:00 2001 From: Pearu Vaalma Date: Mon, 18 Oct 2021 10:02:21 +0300 Subject: [PATCH] Update zshrc --- zsh/.zshrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 '