commit:     612152aacc400899dcb4d42f2c75acd63ae75033
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 24 10:03:31 2021 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Sun Oct 24 10:03:31 2021 +0000
URL:        https://gitweb.gentoo.org/proj/eselect.git/commit/?id=612152aa

Don't use absolute paths in visual module

* modules/visual.eselect (EDITOR_LIST): Don't use absolute paths.

Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 ChangeLog              | 4 ++++
 modules/visual.eselect | 7 ++-----
 2 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index f2ea0b6..dc70d61 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2021-10-24  Ulrich Müller  <u...@gentoo.org>
+
+       * modules/visual.eselect (EDITOR_LIST): Don't use absolute paths.
+
 2021-08-24  Ulrich Müller  <u...@gentoo.org>
 
        * libs/package-manager.bash.in (arch): Recognise loongarch*/loong.

diff --git a/modules/visual.eselect b/modules/visual.eselect
index 00cd835..527793e 100644
--- a/modules/visual.eselect
+++ b/modules/visual.eselect
@@ -1,14 +1,11 @@
 # -*-eselect-*-  vim: ft=eselect
-# Copyright 2009-2020 Gentoo Authors
+# Copyright 2009-2021 Gentoo Authors
 # Distributed under the terms of the GNU GPL version 2 or later
 
 EDITOR_VAR="VISUAL"
 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"
+EDITOR_LIST="nano emacs vi xemacs"
 
 inherit editor-variable
 

Reply via email to