From aacb9c46a28214f44321cc31d451b58cb2d68391 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. --- scripts/beep | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 scripts/beep diff --git a/scripts/beep b/scripts/beep new file mode 100755 index 0000000..167a243 --- /dev/null +++ b/scripts/beep @@ -0,0 +1,8 @@ +#!/bin/sh + +if [[ $# -gt 0 ]] +then + eval "$*" + echo -e "\007" +fi +