mirror of
https://github.com/bol-van/zapret.git
synced 2024-11-30 05:50:53 +03:00
install_easy: use vim editor
This commit is contained in:
parent
6e061c8fc9
commit
94c848eab5
@ -39,7 +39,7 @@ edit_file()
|
|||||||
# $1 - file name
|
# $1 - file name
|
||||||
local ed="$EDITOR"
|
local ed="$EDITOR"
|
||||||
[ -n "$ed" ] || {
|
[ -n "$ed" ] || {
|
||||||
for e in mcedit nano vi; do
|
for e in mcedit nano vim vi; do
|
||||||
exists "$e" && {
|
exists "$e" && {
|
||||||
ed="$e"
|
ed="$e"
|
||||||
break
|
break
|
||||||
|
Loading…
Reference in New Issue
Block a user