Where is $PAGER defined?

Norberto Meijome freebsd at meijome.net
Wed Mar 22 20:22:29 UTC 2006


On Wed, 22 Mar 2006 11:59:38 -0800
"Kenyon Ralph" <kralph at gmail.com> wrote:

> On 3/22/06, Norberto Meijome <freebsd at meijome.net> wrote:
> > On Wed, 22 Mar 2006 03:48:50 -0800
> > "Kenyon Ralph" <kralph at gmail.com> wrote:
> >
> > > If I define PAGER myself in /etc/profile, it is still set to
> > > "more" upon login.  I've done grep -R PAGER /etc and got nothing
> > > (except /etc/profile of course, which apparently is being
> > > overridden).
> >
> > ~/.bashrc
> >
> > i believe its run after .profile (and the system
> > wide /etc/profile), so it gets overriden.
> >
> > it may also depend on your shell of choice (bash v3 here)
> 
> Ah, it's actually not in ~/.bashrc, but your email helped me find it. 
> It was in ~/.profile.  Thanks!

np - i must have copied my .profile to .bashrc then :)


More information about the freebsd-questions mailing list