From 1cb47e8c635f45ed66cd86a5640ceb11d0b39719 Mon Sep 17 00:00:00 2001 From: MatMoul Date: Sun, 1 Nov 2015 18:41:01 +0100 Subject: [PATCH] Add editor choice feature --- archfi | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/archfi b/archfi index 927d7c3..7a3524a 100644 --- a/archfi +++ b/archfi @@ -125,10 +125,7 @@ chooseeditor(){ "${options[@]}" \ 3>&1 1>&2 2>&3) if [ "$?" = "0" ]; then - clear - echo "export EDITOR=$sel" - export EDITOR=$sel - pressanykey + EDITOR=$sel fi }