mirror of
git://slackware.nl/current.git
synced 2024-12-30 10:24:23 +01:00
983b468de9
a/etc-15.1-x86_64-12.txz: Rebuilt. Remove less related profile variables from /etc/profile. a/exfatprogs-1.2.3-x86_64-1.txz: Upgraded. a/less-655-x86_64-2.txz: Rebuilt. Create /etc/profile.d/less.{csh,sh} for less related profile variables. By default, don't display the informational messages on the top line of the output (this can be configured in less.{csh,sh}. Don't attempt special handling of .log files as it breaks viewing a file such as foo.log.bz2. d/parallel-20240522-noarch-1.txz: Upgraded. l/python-trove-classifiers-2024.5.22-x86_64-1.txz: Upgraded. x/mesa-24.1.0-x86_64-1.txz: Upgraded. x/xterm-392-x86_64-1.txz: Upgraded. xap/pavucontrol-6.0-x86_64-1.txz: Upgraded.
18 lines
781 B
Bash
18 lines
781 B
Bash
# Set profile variables for less and lesspipe.sh.
|
|
|
|
# Setting a default $LESS was something inherited from SLS many years ago,
|
|
# but apparently the previous setting of "-M" causes display issues with
|
|
# some programs (i.e. git log). Adding "-R" as well fixes this, but some
|
|
# folks have concerns about the security of this option (I think it's
|
|
# actually "-r" that's the dangerous one). Anyway, it might be best to just
|
|
# leave this unset by default. Uncomment it if you like, or set up your
|
|
# own definition or aliases on a per-account basis.
|
|
#export LESS="-M -R"
|
|
|
|
# Use lesspipe.sh (see man lesspipe):
|
|
export LESSOPEN="|lesspipe.sh %s"
|
|
|
|
# Suppress the "informal messages" in the first line of the lesspipe output.
|
|
# If you like these, comment this line out.
|
|
export LESSQUIET=true
|
|
|