Here is how the usual Ubuntu terminal looks when you run the React development serving using npm start
and make changes to your source:
Say the server was already running and you tried to do npm start
again, you get notified in a colourful message:
And, if you say no, it exits cleanly.
However, I use eshell. This is how the same thing (the react dev. server) looks in eshell:
Observe how the output is appended onto the previous contents instead of clearing the screen. The colours are also missing. If the server is already running, this is how the eshell prompt looks like:
This is kind of a mess. Once you say no, it does not exit cleanly but shows the same message again before exiting.
My question is, is there a way to make eshell more like the ubuntu terminal? Is there a modern terminal package for Emacs that could handle these kind of things?
M x term
, it asks to run/bin/bash
, Bash according to the link I put before is "the most common shell in modern linux systems", soM x term
also runs a shell which is bash, wait what?