浏览代码

system/skeleton: drop PAGER from /etc/profile

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>
Lubomir Rintel 5 年之前
父节点
当前提交
4032267507
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      system/skeleton/etc/profile

+ 0 - 1
system/skeleton/etc/profile

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