#!/bin/bash
no_exit_on_failed_exec=
exec ${VISUAL:-${EDITOR:-ae}} "$@"
exec vi "$@"
exec emacs "$@"
echo "Couldn't find an editor!" 1>&2
echo "Please set the \$VISUAL environment variable to your desired editor." 1>&2
echo "If your haven't done so, please install one of the editor packages." 1>&2
exit 1
