Install elpa-eshell-prompt-extras by entering the following commands in the terminal:
sudo apt update sudo apt install elpa-eshell-prompt-extras
Description:
display extra information in your Eshell prompt
This package allows one to display remote user, remote host, Python virtual environment info, git branch, git dirty info and git unpushed number for Eshell prompt.
Homepage: https://github.com/hiddenlotus/eshell-prompt-extras
Version: 0.96-1
Section: universe/lisp