I'm using, OS X, and mainly terminal and emacsclient.
When I do shell stuff, I background my emacsclient with Control-Z
Someties I forget whether i've done that, and end up spawning additional emacsclient sessions, which I don;t want to do.
It would be cool if the bash prompt can tell me whether emacsclient jobs up in the jobs
output
Minimal example for bash, using
sleep
instead ofemacsclient
.You might want to filter on stopped jobs (
jobs -s
).You can get fancier by echoing escape sequences instead of just strings to colorize it.