From 078cbacd0e09713f77aa78629c1f00253e9a5383 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Sun, 25 Aug 2013 20:52:03 +1200 Subject: No need to test for stty/setterm existence If they fail, they fail, and we don't care --- bash/bashrc | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'bash/bashrc') diff --git a/bash/bashrc b/bash/bashrc index d3960ea5..ea6a13f8 100644 --- a/bash/bashrc +++ b/bash/bashrc @@ -17,14 +17,10 @@ HISTTIMEFORMAT='%F %T ' unset MAILCHECK # Never beep at me -if command -v setterm &>/dev/null; then - setterm -bfreq 0 -fi +setterm -bfreq 0 2>/dev/null # Turn off flow control and control character echo -if command -v stty &>/dev/null; then - stty -ixon -ctlecho -fi +stty -ixon -ctlecho 2>/dev/null # Use completion, if available if [[ -r /etc/bash_completion ]]; then -- cgit v1.2.3