Added an export of $EDITOR global variable