www.LinuxHowtos.org
editor.eselect
Section: eselect (5)Updated: September 2012
Index Return to Main Contents
NAME
editor.eselect - The EDITOR management module for Gentoo's eselectSYNOPSIS
eselect editor [help|usage|version]eselect editor list
eselect editor set target
eselect editor show
eselect editor update
DESCRIPTION
eselect is Gentoo's configuration and management tool. It features modules that care for the individual administrative tasks.ACTION: LIST
eselect editor listList available targets for the EDITOR variable.
# eselect editor list
Available targets for the EDITOR variable:
[1] /bin/nano *
[2] /usr/bin/emacs
[3] /usr/bin/vi
[ ] (free form)
ACTION: SET
eselect editor set targetSet the EDITOR variable in the system profile. target can be either an identification number given by eselect editor list or the name of an installed text editor.
# eselect editor set emacs
Setting EDITOR to /usr/bin/emacs ...
Run ". /etc/profile" to update the variable in your shell.
ACTION: SHOW
eselect editor showShow the value of the EDITOR variable in the system profile.
# eselect editor show
EDITOR variable in profile:
/usr/bin/emacs
ACTION: UPDATE
eselect editor updateUpdate the EDITOR variable if it is unset or invalid.
FILES
- /etc/env.d/99editor
- Configuration file where the variable is stored.
AUTHOR
Ulrich Müller <ulm@gentoo.org>SEE ALSO
eselect(1), visual.eselect(5), environ(7)