rupa/z — Issue #44: bash completion breaks exit status display in prompt
Author: grosser
Created: 2012-01-14 04:47:07+00:00
State: open

I have a prompt that displays red if the last exit status was a failure,
this no longer works if z.sh bash completion is loaded (the lower part of z.sh)

```bash
function prompt_func() {
previous_return_value=$?;
PS1="${previous_return_value}"
}

PROMPT_COMMAND=prompt_func
```