From 259aaca6d0242c3b2b8ff0c167dfdd63744b734b Mon Sep 17 00:00:00 2001 From: Julien Palard Date: Mon, 4 Jan 2016 10:53:00 +0100 Subject: [PATCH] Disable audible bell. --- .bashrc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.bashrc b/.bashrc index e851c43..98d253e 100644 --- a/.bashrc +++ b/.bashrc @@ -42,6 +42,10 @@ shopt -s autocd 2>/dev/null # Only in bash 4 shopt -s globstar 2>/dev/null # Only in bash 4 shopt -s nocaseglob +if [ -n "$DISPLAY" ]; then + xset b off +fi + # http://nion.modprobe.de/blog/archives/572-less-colors-for-man-pages.html export LESS_TERMCAP_mb=$'\E[01;31m' # debut de blink export LESS_TERMCAP_md=$'\E[01;31m' # debut de gras