Punt PAGER and EDITOR. People need to set this themselves now.
This commit is contained in:
parent
4a23e42be8
commit
0d031e5481
@ -5,6 +5,8 @@
|
|||||||
|
|
||||||
Make sure we list all config files in rc help output.
|
Make sure we list all config files in rc help output.
|
||||||
|
|
||||||
|
Punt PAGER and EDITOR. People need to set this themselves now.
|
||||||
|
|
||||||
22 Aug 2007; Roy Marples <uberlord@gentoo.org>:
|
22 Aug 2007; Roy Marples <uberlord@gentoo.org>:
|
||||||
|
|
||||||
Only open /proc/cmdline if it exists, #189686 thanks to Christian Affolter.
|
Only open /proc/cmdline if it exists, #189686 thanks to Christian Affolter.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
SUBDIRS = env.d
|
SUBDIRS = env.d profile.d
|
||||||
|
|
||||||
DIR = /etc
|
DIR = /etc
|
||||||
FILES = hosts networks profile protocols rc.conf services shells
|
FILES = hosts networks profile protocols rc.conf services shells
|
||||||
|
@ -6,5 +6,3 @@ LDPATH="/usr/local/lib"
|
|||||||
MANPATH="/usr/local/share/man:/usr/share/man"
|
MANPATH="/usr/local/share/man:/usr/share/man"
|
||||||
INFOPATH="/usr/share/info"
|
INFOPATH="/usr/share/info"
|
||||||
CVS_RSH="ssh"
|
CVS_RSH="ssh"
|
||||||
PAGER="/usr/bin/less"
|
|
||||||
LESSOPEN="|lesspipe.sh %s"
|
|
||||||
|
@ -29,11 +29,6 @@ fi
|
|||||||
export PATH
|
export PATH
|
||||||
unset ROOTPATH
|
unset ROOTPATH
|
||||||
|
|
||||||
# Extract the value of EDITOR
|
|
||||||
[ -z "$EDITOR" ] && EDITOR="`. /etc/rc.conf 2>/dev/null; echo $EDITOR`"
|
|
||||||
[ -z "$EDITOR" ] && EDITOR="/bin/nano"
|
|
||||||
export EDITOR
|
|
||||||
|
|
||||||
if [ -n "${BASH_VERSION}" ] ; then
|
if [ -n "${BASH_VERSION}" ] ; then
|
||||||
# Newer bash ebuilds include /etc/bash/bashrc which will setup PS1
|
# Newer bash ebuilds include /etc/bash/bashrc which will setup PS1
|
||||||
# including color. We leave out color here because not all
|
# including color. We leave out color here because not all
|
||||||
|
4
etc/profile.d/Makefile
Normal file
4
etc/profile.d/Makefile
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
DIR = /etc/profile.d
|
||||||
|
|
||||||
|
TOPDIR = ../..
|
||||||
|
include $(TOPDIR)/default.mk
|
@ -6,12 +6,7 @@
|
|||||||
|
|
||||||
UNICODE="no"
|
UNICODE="no"
|
||||||
|
|
||||||
# Set EDITOR to your preferred editor.
|
# You should set EDITOR and PAGER in a file in /etc/profile.d/ like "base.sh".
|
||||||
# You may use something other than what is listed here.
|
|
||||||
|
|
||||||
EDITOR="/bin/nano"
|
|
||||||
#EDITOR="/usr/bin/vim"
|
|
||||||
#EDITOR="/usr/bin/emacs"
|
|
||||||
|
|
||||||
# XSESSION is a new variable to control what window manager to start
|
# XSESSION is a new variable to control what window manager to start
|
||||||
# default with X if run with xdm, startx or xinit. The default behavior
|
# default with X if run with xdm, startx or xinit. The default behavior
|
||||||
|
Loading…
Reference in New Issue
Block a user