mirror of
https://github.com/NaomiAmethyst/dots.git
synced 2025-08-05 16:48:38 +00:00
bug in the pager
This commit is contained in:
parent
629820301c
commit
3fcab0da3b
1 changed files with 2 additions and 1 deletions
|
@ -8,8 +8,9 @@ if [ $PAGER = less ] ; then
|
|||
for lesspipe in lesspipe lesspipe.sh ; do
|
||||
lesspipe_test=`command -v ${lesspipe} 2>/dev/null`
|
||||
if [ -n "${lesspipe_test}" ] ; then
|
||||
LESSOPEN="| ${lesspipe_test} %s" && break
|
||||
LESSOPEN="| ${lesspipe_test} %s"
|
||||
export LESSOPEN
|
||||
break
|
||||
fi
|
||||
done
|
||||
if [ $lesspipe = lesspipe ] ; then
|
||||
|
|
Loading…
Add table
Reference in a new issue