M-x shell
improved.
Supported packages (works without configuration):
My ~/.profile
for fshell:
# Use cat as pager in Emacs
if [ -v INSIDE_EMACS ]; then
export PAGER=cat
export TERM=xterm-256color
# suppress echo in Emacs shell
# https://unix.stackexchange.com/questions/343088/what-is-the-equivalent-of-stty-echo-for-zsh
unsetopt ZLE
stty -echo
fi