diff --git a/scripts/edit b/scripts/edit index 8943b690..495c8bf3 100755 --- a/scripts/edit +++ b/scripts/edit @@ -14,6 +14,9 @@ if ! [ -r "${FUNCTIONS}"/main ] ; then exit 1 fi +# shellcheck disable=SC1090 +. "${FUNCTIONS}"/main + if [ -z "${EDITOR:-}" ] ; then if [ -x "/usr/bin/vim" ]; then EDITOR="/usr/bin/vim" @@ -23,9 +26,6 @@ if [ -z "${EDITOR:-}" ] ; then fi fi -# shellcheck disable=SC1090 -. "${FUNCTIONS}"/main - # main script RC=0 file=""