stepb / urxvt-tabbedex

Tabbed plugin for rxvt-unicode with many enhancements
75 stars 54 forks source link

show different activity indicator based on command exit or just stdout/stderr #6

Open Dieterbe opened 13 years ago

Dieterbe commented 13 years ago

currently, tabbedex will show an activity indicator for all these cases: 1) something appears on stdout 2) something appears on stderr 3) command is executed, prompt is returned.

I would find it useful if I could make different indicators for each of these cases, I don't care much about how many seconds ago it was, but if I'm in another tab, I like to be able to deduce what happened on the other tab. the ability to see whether my command is done versus only some stdout is generated, for example is very useful. The third case could even be split up in 2 cases: the $? -eq 0, or $? -gt 0.

mina86 commented 10 years ago

There is no way for tabbedex to distinguish any of the things you've mentioned. mina86/urxvt-tabbedex has a bell handling though which you might take advantage of. Simply set your PROMPT_COMMAND to printf \a.