X-Git-Url: http://git.tremily.us/?p=dotfiles-public.git;a=blobdiff_plain;f=src%2F.bashrc.d%2F20nobeep;h=e6587ed067f80d47945f08f2623192adfbdac03b;hp=6e6176f739dc8882555fffc25a277de5ac9a38b1;hb=75b4abb380319a277d733bc899ff898457b8018c;hpb=c7f9155f864dd3d5c13791720610d332e21eab4c diff --git a/src/.bashrc.d/20nobeep b/src/.bashrc.d/20nobeep index 6e6176f..e6587ed 100644 --- a/src/.bashrc.d/20nobeep +++ b/src/.bashrc.d/20nobeep @@ -7,7 +7,7 @@ fi # turn of terminal beeps in the console, unless connecting via SSH if [ -n "$TERM" ] && [ -z "$SSH_CLIENT" ]; then - setterm --blength 0 + setterm --blength 0 2>/dev/null || setterm -blength 0 fi # turn off beeps in Firefox