Gentoo Archives: gentoo-user

From: Pandu Poluan <pandu@××××××.info>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Setting default user environments in /etc/profile.d/
Date: Wed, 02 May 2012 02:28:38
Message-Id: CAA2qdGVjL1bDRj=UqyfL-qV0_yUd_azYg8b8r2dcdNt=yxxb9w@mail.gmail.com
In Reply to: Re: [gentoo-user] Setting default user environments in /etc/profile.d/ by Stroller
1 On May 2, 2012 2:48 AM, "Stroller" <stroller@××××××××××××××××××.uk> wrote:
2 >
3 >
4 > On 1 May 2012, at 19:27, Michael Orlitzky wrote:
5 >
6 > > On 05/01/2012 02:11 PM, Stroller wrote:
7 > >> So /etc/profile contains the following message:
8 > >>
9 > >> # You should override these in your ~/.bashrc (or equivalent) for
10 per-user
11 > >> # settings. For system defaults, you can add a new file in
12 /etc/profile.d/.
13 > >> export EDITOR=${EDITOR:-/bin/nano}
14 > >> export PAGER=${PAGER:-/usr/bin/less}
15 > >>
16 > >> Therefore I have created a plain text file
17 /etc/profile.d/essential_defaults
18 > >>
19 > >
20 > > First of all, use `eselect pager` =)
21 >
22 > Actually, if you look at the contents of my essential_defaults file, I'm
23 not so interested in the pager as the MANPAGER setting. I find that after
24 using `most` as my man-pager, it's quite horrible using `less` on a new
25 system. For anything else, `less` is fine.
26 >
27 > Stroller.
28 >
29 >
30
31 'most' is for sissies ; I use vimmanpager for MANPAGER, and vimpager for
32 PAGER. ;-)
33
34 Rgds,

Replies

Subject Author
Re: [gentoo-user] Setting default user environments in /etc/profile.d/ Stroller <stroller@××××××××××××××××××.uk>