I'm investigating the relationship between bash and emacs shorcuts. Someone told me that the reason why they're similar is that bash uses emacs as its command line interpreter. However, I haven't found any evidence that supports this thesis.I know there are edits modes in bash and one of them is emacs. But, is it true that the command line interpreter is implemented on emacs?Please note I'm referring to the actual implementation and not to the similarities between them.
Is bash command line interpreter implemented on emacs?
bash;command line;emacs
The short answer is no. bash's command-line processing is implemented mostly in bashline.c and its copy of readline, which supports vi-like and Emacs-like behaviours. Emacs itself is written mostly in Emacs Lisp; using it to implement bash would be quite involved since Emacs Lisp isn't designed to be used without Emacs.