From 94c848eab5ec628629dc1de05e86549b6f8206ea Mon Sep 17 00:00:00 2001 From: bol-van Date: Tue, 13 Aug 2024 15:20:34 +0300 Subject: [PATCH] install_easy: use vim editor --- common/installer.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/installer.sh b/common/installer.sh index fc39132..2a3142c 100644 --- a/common/installer.sh +++ b/common/installer.sh @@ -39,7 +39,7 @@ edit_file() # $1 - file name local ed="$EDITOR" [ -n "$ed" ] || { - for e in mcedit nano vi; do + for e in mcedit nano vim vi; do exists "$e" && { ed="$e" break @@ -685,4 +685,4 @@ select_fwtype() } echo select firewall type : ask_list FWTYPE "iptables nftables" "$FWTYPE" && write_config_var FWTYPE -} \ No newline at end of file +}