JeremySkinner/posh-hg — pull request #30 by maxslimmer (2014-11-06 07:52:01+00:00)
Title: preserve $lastexit code in function prompt()

$LASTEXITCODE gets clobbered by something in the prompt function. Save it and restore at the end.