On Wed, Aug 01 2012,Stephen Leake wrote: [snipped 30 lines] > > However, I get one default prompt, then the prompt I've set. That's > because .emacs_bash is run as the first command the shell executes; it > is created, gives one prompt, then runs .emacs_bash. > > So is this only on the first line for you? Do subsequent command lines > show the prompt you've set? > > Can you set PS1 from the command line, after the shell is created?
Looks like (require 'setup-cygwin) was interfering with HOME and other details and that's why things were getting borked. Removed the above package and it reads the .enacs_bash file correctly. Thanks, once again, for your help. I set it to PS1="\e[0;31m\u@\h:\$ \e[m " sivaram --