bashrc & zshrc: if /usr/bin/xset exists, xset -b on

To enable beeping...
This commit is contained in:
Mikaela Suomalainen 2014-01-22 22:08:38 +02:00
parent 21a2829f2f
commit 10d377f7cf
2 changed files with 14 additions and 0 deletions

7
bashrc
View File

@ -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.

7
zshrc
View File

@ -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.)