Date: Wed, 22 Mar 2006 03:48:50 -0800 From: "Kenyon Ralph" <kralph@gmail.com> To: freebsd-questions@freebsd.org Subject: Where is $PAGER defined? Message-ID: <13d4d6bb0603220348m4aee6c81t4f136076eaea2d10@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
The subject says it all - Where is the environment variable $PAGER defined?
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).
Thanks!
$ uname -a
FreeBSD sloth 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Thu Nov 3 09:36:13
UTC 2005 root@x64.samsco.home:/usr/obj/usr/src/sys/GENERIC i386
$ echo $BASH_VERSION
3.00.16(1)-release
$ cat /etc/profile
shopt -s checkwinsize
set -o vi
alias chgrp='chgrp -v'
alias chmod='chmod -v'
alias chown='chown -v'
alias cp='cp -iv'
alias df='df -h'
alias du='du -sh'
alias egrep='egrep --color'
alias fgrep='fgrep --color'
alias g='gvim'
alias grep='grep --color'
alias l='ls -a'
alias ll='ls -la'
alias ln='ln -iv'
alias ls='ls -GFh'
alias mkdir='mkdir -v'
alias mv='mv -iv'
alias rm='rm -Iv'
alias rmdir='rmdir -v'
alias vi='vim'
export EDITOR="/usr/local/bin/vim"
export VISUAL="/usr/local/bin/vim"
export PAGER="/usr/bin/less -MiR"
export LESSOPEN="|/usr/local/bin/lesspipe.sh %s"
export LESS="-MiR"
export HISTCONTROL=ignoredups
export HISTSIZE=1000
export HISTFILESIZE=1000
if [[ ${EUID} == 0 ]] ; then
PS1='\[\033[\e[32m\]\t \[\033[01;31m\]\h \[\033[01;34m\]\w \$ \[\033[00m\]'
else
PS1='\[\033[\e[32m\]\t \[\033[01;32m\]\u@\h \[\033[01;34m\]\w \$
\[\033[00m\]'
fi
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?13d4d6bb0603220348m4aee6c81t4f136076eaea2d10>
