On 05/01/2012 02:11 PM, Stroller wrote:
> So /etc/profile contains the following message:
> 
> # You should override these in your ~/.bashrc (or equivalent) for per-user
> # settings.  For system defaults, you can add a new file in /etc/profile.d/.
> export EDITOR=${EDITOR:-/bin/nano}
> export PAGER=${PAGER:-/usr/bin/less}
> 
> Therefore I have created a plain text file /etc/profile.d/essential_defaults
> 

First of all, use `eselect pager` =)

The reason this isn't working is that the comment at the top of
/etc/profile fails to mention this:

  for sh in /etc/profile.d/*.sh ; do
        [ -r "$sh" ] && . "$sh"
  done
  unset sh

So it looks like you need to add a ".sh" extension.

Reply via email to