aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--archfi3
1 files changed, 2 insertions, 1 deletions
diff --git a/archfi b/archfi
index 6e52e1c..1fed4e1 100644
--- a/archfi
+++ b/archfi
@@ -138,7 +138,8 @@ chooseeditor(){
3>&1 1>&2 2>&3)
if [ "$?" = "0" ]; then
clear
- echo "EDITOR=$sel"
+ echo "export EDITOR=$sel"
+ export EDITOR=$sel
EDITOR=$sel
pressanykey
fi