summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2021-10-24 12:03:31 +0200
committerUlrich Müller <ulm@gentoo.org>2021-10-24 12:03:31 +0200
commit612152aacc400899dcb4d42f2c75acd63ae75033 (patch)
tree79430330c418f4910088a8a2bace0d8a66820119
parentRecognise loongarch*/loong in package-manager lib (diff)
downloadeselect-612152aacc400899dcb4d42f2c75acd63ae75033.tar.gz
eselect-612152aacc400899dcb4d42f2c75acd63ae75033.tar.bz2
eselect-612152aacc400899dcb4d42f2c75acd63ae75033.zip
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@gentoo.org>
-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