summaryrefslogtreecommitdiffstats
path: root/.profile
diff options
context:
space:
mode:
authorJan Pokorný <jpokorny@redhat.com>2013-04-23 19:09:56 +0200
committerJan Pokorný <jpokorny@redhat.com>2013-04-23 19:09:56 +0200
commit23d3a8d72461674f339b012292701b713b1c4b77 (patch)
tree38d6fec52b9689399ef196e1b70af62d4a6cfbc0 /.profile
parent885b0d0a54efdcd2f47ced62af5d6d5ab6d8f815 (diff)
downloaddotfiles-23d3a8d72461674f339b012292701b713b1c4b77.tar.gz
dotfiles-23d3a8d72461674f339b012292701b713b1c4b77.tar.xz
dotfiles-23d3a8d72461674f339b012292701b713b1c4b77.zip
Make specified pager=less produce highlighted output if applicable
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
Diffstat (limited to '.profile')
-rw-r--r--.profile1
1 files changed, 1 insertions, 0 deletions
diff --git a/.profile b/.profile
index 65b844b..3bc5c99 100644
--- a/.profile
+++ b/.profile
@@ -2,3 +2,4 @@ export PATH="${PATH}:${HOME}/.local/bin:${HOME}/bin"
export KRB5_CONFIG="${HOME}/.krb5conf"
export EDITOR="vim"
export PAGER="less -FRXS"
+export LESSOPEN="||${HOME}/.local/bin/lesspipe-highlight.sh %s"