From 4386e8a95368e38218288baeeb66e272b72ec638 Mon Sep 17 00:00:00 2001 From: Alain Reguera Delgado Date: Oct 30 2010 10:34:52 +0000 Subject: Update default text editor verification order inside cli.sh. --- diff --git a/Scripts/Bash/Functions/cli.sh b/Scripts/Bash/Functions/cli.sh index 0373b86..4869d72 100644 --- a/Scripts/Bash/Functions/cli.sh +++ b/Scripts/Bash/Functions/cli.sh @@ -116,7 +116,7 @@ function cli { # than a text editor and in that case be executed when you try to # edit a documentation entry using the `centos-art help --edit' # command. - if [[ ! "$EDITOR" =~ '/usr/bin/(emacs|vim|nano)' ]];then + if [[ ! "$EDITOR" =~ '/usr/bin/(vim|emacs|nano)' ]];then EDITOR='/usr/bin/vim' fi