editor.eselect(5)

NAME
editor.eselect - The EDITOR management module for Gentoo's eselect

SYNOPSIS
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 list
List available targets for the EDITOR variable. # eselect editor list
Available targets for the EDITOR variable:
  [1] nano *
  [2] emacs
  [3] vi
  [ ] (free form)

ACTION: SET
eselect editor set target
Set the EDITOR variable in the system profile. target can be either an identification number given by eselect editor list or the name (with or without full path) of an installed text editor. # eselect editor set emacs
Setting EDITOR to emacs ...
Run ". /etc/profile" to update the variable in your shell.

ACTION: SHOW
eselect editor show
Show the value of the EDITOR variable in the system profile. # eselect editor show
EDITOR variable in profile:
  emacs

ACTION: UPDATE
eselect editor update
Update 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)