projects
/
dotfiles-public.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
.bashrc.d/20nobeep: Fallback to -blength if --blength doesn't work
[dotfiles-public.git]
/
src
/
.bashrc.d
/
20nobeep
diff --git
a/src/.bashrc.d/20nobeep
b/src/.bashrc.d/20nobeep
index 6e6176f739dc8882555fffc25a277de5ac9a38b1..e6587ed067f80d47945f08f2623192adfbdac03b 100644
(file)
--- 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