aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--modules/visual.eselect7
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 <ulm@gentoo.org>
+
+ * modules/visual.eselect (EDITOR_LIST): Don't use absolute paths.
+
2021-08-24 Ulrich Müller <ulm@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