diff options
| author | CoprDistGit <infra@openeuler.org> | 2024-07-14 04:12:04 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2024-07-14 04:12:04 +0000 |
| commit | bf4050f2f1952c876915397a03adee45fa31ac77 (patch) | |
| tree | f5b6dfe0a06753959c878be691446baa131124b7 /less.sh | |
| parent | e66da3d58e62217d7864b58ea46aafc60a64ba00 (diff) | |
automatic import of lessopeneuler24.03_LTS
Diffstat (limited to 'less.sh')
| -rw-r--r-- | less.sh | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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 |
