Edit not pre-packaged with OS X, changed to nano (temp.) and added  to 'edit-host' command.