From 10d377f7cfa561217c640840393e7f86d69288b4 Mon Sep 17 00:00:00 2001 From: Mikaela Suomalainen Date: Wed, 22 Jan 2014 22:08:38 +0200 Subject: [PATCH] bashrc & zshrc: if /usr/bin/xset exists, xset -b on To enable beeping... --- bashrc | 7 +++++++ zshrc | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/bashrc b/bashrc index 7455d27b..2647f3b9 100644 --- a/bashrc +++ b/bashrc @@ -10,6 +10,13 @@ echo "if [ -f ~/.bashrc ]; then source ~/.bashrc fi" > ~/.bash_profile +# enable terminal bell + +if [ -f /usr/bin/xset ]; +then + xset b on +fi + ##### Defaults etc... M0TZLS ##### # ~/.bashrc: executed by bash(1) for non-login shells. diff --git a/zshrc b/zshrc index 111dd790..a48df94e 100644 --- a/zshrc +++ b/zshrc @@ -8,6 +8,13 @@ UNAME=`uname` # uname should be readable in $uname uname=`uname` +# enable terminal bell + +if [ -f /usr/bin/xset ]; +then + xset b on +fi + ##### Defaults etc... M0TZLS ##### # This is based on zshrc which came with Debian (Third option in wizard for new users.)