main: Declare variable local to fix WARN_CREATE_GLOBAL error

This commit is contained in:
Matthew Martin 2020-03-12 20:51:19 -05:00
parent 41d90cb5ed
commit b85e313bc9

View file

@ -29,7 +29,7 @@
# -------------------------------------------------------------------------------------------------
setopt shwordsplit
EDITOR='ed -s'
local EDITOR='ed -s'
ed() { command ed "$@" }