aboutsummaryrefslogtreecommitdiff
path: root/shellrc.d/less
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2018-08-12 18:37:31 +0200
committerKarel Kočí <cynerd@email.cz>2018-08-12 18:37:31 +0200
commita55cffa8b3cbc02e2b021ed25e67203d337c36bb (patch)
tree8ccc7d7fd3a8423af46a77c488511589142fc08b /shellrc.d/less
parent8720b8f7bb072a861dcc5b4be1c97b02f0912a9e (diff)
downloadshellrc-a55cffa8b3cbc02e2b021ed25e67203d337c36bb.tar.gz
shellrc-a55cffa8b3cbc02e2b021ed25e67203d337c36bb.tar.bz2
shellrc-a55cffa8b3cbc02e2b021ed25e67203d337c36bb.zip
Move some definitions around and add --desktop optionv0.5.2
Diffstat (limited to 'shellrc.d/less')
-rw-r--r--shellrc.d/less10
1 files changed, 10 insertions, 0 deletions
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"