On 1 May 2012, at 23:52, Walter Dnes wrote: > On Tue, May 01, 2012 at 07:11:37PM +0100, 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 > > … The items you mentioned are EDITOR and PAGER. For the > official way of changing global settings, see... > http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2&chap=5&style=printable > for examples. In my case…
Nope, those are merely the next two lines from the file when I ran `grep -C X` to find where I'd read about putting files in /etc/profile.d/. If you read my original post (solved) now, you'll see that in my actual my_defaults.sh file I only concern myself with the MANPAGER, the history file and vi-style line editing (for Bash). Sorry if this was unclear, Stroller.