some command editing mode refactoring, added method to change shell executable