From ec6b62badc9e1447a74966048bfa21275f4abffc Mon Sep 17 00:00:00 2001 From: nirenjan Date: Thu, 31 Jan 2013 14:52:41 -0800 Subject: [PATCH] Add beep script This script evaluates the commands specified on the command line and sends a beep to the terminal after the command completes execution. In tmux, this results in the window status bar displaying the beep signal. --- beep | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 beep diff --git a/beep b/beep new file mode 100755 index 0000000..167a243 --- /dev/null +++ b/beep @@ -0,0 +1,8 @@ +#!/bin/sh + +if [[ $# -gt 0 ]] +then + eval "$*" + echo -e "\007" +fi +