From a55cffa8b3cbc02e2b021ed25e67203d337c36bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Sun, 12 Aug 2018 18:37:31 +0200 Subject: Move some definitions around and add --desktop option --- shellrc.d/less | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 shellrc.d/less (limited to 'shellrc.d/less') diff --git a/shellrc.d/less b/shellrc.d/less new file mode 100644 index 0000000..d2490a5 --- /dev/null +++ b/shellrc.d/less @@ -0,0 +1,10 @@ +# vim: ft=sh: +export LESS=-R +export LESS_TERMCAP_mb=$'\E[1;31m' +export LESS_TERMCAP_md=$'\E[1;36m' +export LESS_TERMCAP_me=$'\E[0m' +export LESS_TERMCAP_se=$'\E[0m' +export LESS_TERMCAP_so=$'\E[01;44;33m' +export LESS_TERMCAP_ue=$'\E[0m' +export LESS_TERMCAP_us=$'\E[1;32m' +[ -x /usr/bin/src-hilite-lesspipe.sh ] && export LESSOPEN="| /usr/bin/src-hilite-lesspipe.sh %s" -- cgit v1.2.3