kaihaosw/eshell-prompt-extras — pull request #2 by dakrone (2014-08-19 13:09:26+00:00)
Title: Each prompt should set its own `eshell-prompt-regexp`

I think it'd be cleaner to have each prompt set its own `eshell-prompt-regexp` instead of counting on the user to set it.

What do you think? I don't know if there was a good reason not to set it inside the prompt lambda.