finally managed to use a more simplified shell promprt that works well inside Emacs' shell