sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[SM-Commit] GIT changes to master grimoire by Vlad Glagolev (90e37db68df7643be23974817fccd0cfe8276002)
- From: Vlad Glagolev <scm AT sourcemage.org>
- To: sm-commit AT lists.ibiblio.org
- Subject: [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (90e37db68df7643be23974817fccd0cfe8276002)
- Date: Mon, 14 Aug 2017 03:35:45 +0000
GIT changes to master grimoire by Vlad Glagolev <stealth AT sourcemage.org>:
editors/nvi/HISTORY | 4 ++--
editors/nvi/profile.d/editor.sh | 10 ++++++++++
2 files changed, 12 insertions(+), 2 deletions(-)
New commits:
commit 90e37db68df7643be23974817fccd0cfe8276002
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>
nvi: added profile.d
diff --git a/editors/nvi/HISTORY b/editors/nvi/HISTORY
index 4cfc12b..f5281fd 100644
--- a/editors/nvi/HISTORY
+++ b/editors/nvi/HISTORY
@@ -1,3 +1,3 @@
2017-08-13 Vlad Glagolev <stealth AT sourcemage.org>
- * DETAILS, DEPENDS, {PRE_,}BUILD, INSTALL, CONFIGURE, PROVIDES:
created
- spell, version 1.79
+ * DETAILS, DEPENDS, {PRE_,}BUILD, INSTALL, CONFIGURE, PROVIDES,
+ profile.d: created spell, version 1.79
diff --git a/editors/nvi/profile.d/editor.sh b/editors/nvi/profile.d/editor.sh
new file mode 100644
index 0000000..9b97145
--- /dev/null
+++ b/editors/nvi/profile.d/editor.sh
@@ -0,0 +1,10 @@
+#!/bin/sh
+# First check if this variable is already set
+# then if not set, check it (maybe), then set it
+
+if [ -z "$EDITOR" ] ; then
+ EDITOR="nvi"
+fi
+
+export EDITOR
+
- [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (90e37db68df7643be23974817fccd0cfe8276002), Vlad Glagolev, 08/15/2017
Archive powered by MHonArc 2.6.24.