From 9b5af9f85c324fc71884f9f33605201cb1b9dd1b Mon Sep 17 00:00:00 2001 From: Bryan Roberts Date: Sun, 15 Feb 2015 02:35:03 -0500 Subject: [PATCH] Added EDITOR default to _blackbox_common.sh --- bin/_blackbox_common.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bin/_blackbox_common.sh b/bin/_blackbox_common.sh index eaf4bd3..b886ad8 100755 --- a/bin/_blackbox_common.sh +++ b/bin/_blackbox_common.sh @@ -11,6 +11,11 @@ # Where in the VCS repo should the blackbox data be found? : ${BLACKBOXDATA:=keyrings/live} ; # If BLACKBOXDATA not set, set it. + + +# If $EDITOR is not set, set it to "vi": +: ${EDITOR:-vi} ; + # Outputs a string that is the base directory of this VCS repo. # By side-effect, sets the variable VCS_TYPE to either 'git', 'hg',