How can I customize the prompt of
eshell? Specifically how can I prevent it from showing the full current path?
migrated from stackoverflow.com Oct 30 '12 at 0:55
This question came from our site for professional and enthusiast programmers.
You can find a lot of possibilities to customize a prompt in the emacs wiki.
In the following example only three last directory names of the path will be shown, the directories in the beginning will be shortened to one letter: