←back to thread

2039 points Gadiguibou | 1 comments | | HN request time: 0s | source
Show context
callumprentice ◴[] No.36492080[source]
Years ago, I wrote a script to find something in a big blob of data and to alert me when it was done, I added a “say <some glib Rambo or Schwarzenegger>” type phrase upon completion. I forgot about it and went to bed and was jolted awake hours later by what was clearly an “intruder” speaking to his accomplice, in my home office. Quite the relief when I realized what happened.
replies(5): >>36494341 #>>36495206 #>>36495778 #>>36496808 #>>36498600 #
1. jeremy_wiebe ◴[] No.36495778[source]
I often have multiple terminal tabs open. Sometimes I’ll run a command that ends up taking a while and switch away and forget about it.

So I added a fish command completion script that plays a beep with afplay if the task took longer than 5 seconds. It helps me get back on task for those “just long enough” tasks that I run.