Generate your prompt with an efficient compiled rust program and make it look identical across shells.
Add this line to your ~/.zshrc
:
precmd() {
PROMPT=$'$(/path/to/impromptu "$?" "$(jobs -l)")'
}
Add this line to your ~/.bashrc
:
PS1='$(/path/to/impromptu "$?" "$(jobs -l)")'