aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2009-04-20 06:18:33 +0000
committerUlrich Müller <ulm@gentoo.org>2009-04-20 06:18:33 +0000
commitb787101d5d31e4ccee381d4d6d5f48372f0783ba (patch)
treee8f51553056d2cc945bb5873f617d46fa6a650f4 /modules/editor.eselect
parentFix bug number. (diff)
downloadeselect-b787101d5d31e4ccee381d4d6d5f48372f0783ba.tar.gz
eselect-b787101d5d31e4ccee381d4d6d5f48372f0783ba.tar.bz2
eselect-b787101d5d31e4ccee381d4d6d5f48372f0783ba.zip
New modules for the EDITOR, VISUAL, and PAGER environment variables.
svn path=/trunk/; revision=472
Diffstat (limited to 'modules/editor.eselect')
-rw-r--r--modules/editor.eselect15
1 files changed, 15 insertions, 0 deletions
diff --git a/modules/editor.eselect b/modules/editor.eselect
new file mode 100644
index 0000000..39c16fb
--- /dev/null
+++ b/modules/editor.eselect
@@ -0,0 +1,15 @@
+# Copyright 2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EDITOR_VAR="EDITOR"
+EDITOR_ENVFILE="/etc/env.d/99editor"
+# list of most common cases only
+EDITOR_LIST="/bin/nano /usr/bin/emacs /usr/bin/vi /usr/bin/xemacs"
+
+inherit editor-variable
+
+DESCRIPTION="Manage ${EDITOR_VAR} variable"
+MAINTAINER="ulm@gentoo.org"
+SVN_DATE='$Date$'
+VERSION=$(svn_date_to_version "${SVN_DATE}")