Use emacs itself as the editor if the shell was ran by it

Conflicts:
	config_overrides/zshrc
Merge pull request #1 from r-darwish/emacs-editor

Use emacs itself as the editor if the shell was ran by it