system/skeleton: drop PAGER from /etc/profile
authorLubomir Rintel <lkundrak@v3.sk>
Fri, 6 Sep 2019 09:25:09 +0000 (11:25 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sat, 7 Sep 2019 19:58:04 +0000 (21:58 +0200)
We couldn't track down the reason why the profile sets $PAGER other
than that it has always been there.

However, it defeats pager autodetection by various tool (systemctl,
nmcli, etc.) that would otherwise prefer less to more, in case both
were available.

Let's drop it. My desktop Linux distro (Fedora) doesn't seem to set it
either and the universe doesn't seem to have collapsed yet.

Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
system/skeleton/etc/profile

index db29e44920e8a239f22d3d8b82b76017ceb8c18e..0545277086b4cafc5289e20d3f8e8ec67748eb62 100644 (file)
@@ -8,7 +8,6 @@ if [ "$PS1" ]; then
        fi
 fi
 
-export PAGER='/bin/more'
 export EDITOR='/bin/vi'
 
 # Source configuration files from /etc/profile.d