diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2013-08-25 20:52:03 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2013-08-25 20:52:03 +1200 |
commit | 078cbacd0e09713f77aa78629c1f00253e9a5383 (patch) | |
tree | 5b198cbdbc2e744beac6c2c499b24c1a9841bf5a /bash/bashrc | |
parent | Fix pathname to Vim bundles (diff) | |
download | dotfiles-078cbacd0e09713f77aa78629c1f00253e9a5383.tar.gz dotfiles-078cbacd0e09713f77aa78629c1f00253e9a5383.zip |
No need to test for stty/setterm existence
If they fail, they fail, and we don't care
Diffstat (limited to 'bash/bashrc')
-rw-r--r-- | bash/bashrc | 8 |
1 files changed, 2 insertions, 6 deletions
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 |