mob: "mob timer" doesn't do anything in the terminal
I’m trying mob in a use case that’s probably not common: sharing a remote terminal (via tmate), not needing the WIP branch management stuff, just looking for a timer that can notify us inside the terminal.
I tried running mob timer 1, hoping that after a minute the terminal bell would ring (or perhaps flash). As far as I can tell, nothing happened.
I tried running the same command locally and immediately got a “mob next” notification. I guess that’s probably too fast to be the currently intended behavior. (Both test systems were macOS Big Sur, in case that matters.)
Would it be possible for mob timer to ring the terminal bell?
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 19 (19 by maintainers)
I agree that this is might be confusing. Not sure, however, how to handle this really well. One could require the notify command to contain a
%salways. But perhaps not everybody wants this…Ohhhhhhhhh! (It does.)
Okay, then maybe the essential detail I didn’t realize is that custom non-empty values of
MOB_NOTIFY_COMMANDandMOB_VOICE_COMMANDmust not omit%s.The MOB_NOTIFY_COMMAND either has a
%swhich is substituted bymob nextor, in case it has not,mob nextis appended to the MOB_NOTIFY_COMMAND string before processed further. I think that’s the issue here.See
injectCommandWithMessagefunction.