From bf4050f2f1952c876915397a03adee45fa31ac77 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Sun, 14 Jul 2024 04:12:04 +0000 Subject: automatic import of less --- less.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 less.sh (limited to 'less.sh') diff --git a/less.sh b/less.sh new file mode 100644 index 0000000..189bbd2 --- /dev/null +++ b/less.sh @@ -0,0 +1,8 @@ +# less initialization script (sh) + +# All less.*sh files should have the same semantics! + +if [ -z "$LESSOPEN" ] && [ -x /usr/bin/lesspipe.sh ]; then + # The '||' here is intentional, see rhbz#1254837. + export LESSOPEN="||/usr/bin/lesspipe.sh %s" +fi -- cgit v1.2.3