On macOS, using iTerm2. It looks like
In Emacs For Mac OS X, it looks like
I copied system's ~/.zshrc file to ~/.profile and ~/.bash_profile, but doesn't they read configrations when start emacs?
On macOS, using iTerm2. It looks like
In Emacs For Mac OS X, it looks like
I copied system's ~/.zshrc file to ~/.profile and ~/.bash_profile, but doesn't they read configrations when start emacs?
One possibility is to use term.el
M-x term
term
is a full-featured terminal emulator, within which you can run your OS preferred shell, meaning that terminal escape characters will be handled in input and output generally (including your prompt).
The main complication is that some keybindings conflict with emacs bindings, and so there are two modes of input depending on whether you want keys to behave more like a terminal ("char mode") or more like Emacs ("line mode"). See the manual for more about this:
(emacs)Terminal emulator
(emacs)Term Mode