diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2013-08-02 13:59:10 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2013-08-02 13:59:10 +1200 |
commit | 0b7c9900760e6af9e6adb5977a5b2425a399d85f (patch) | |
tree | b2942c2b8497790e879bec334f75c512560567f6 /bash/bashrc | |
parent | Upgrading submodules (diff) | |
download | dotfiles-0b7c9900760e6af9e6adb5977a5b2425a399d85f.tar.gz dotfiles-0b7c9900760e6af9e6adb5977a5b2425a399d85f.zip |
Restore stderr redirection for command -v
Some older versions of Bash seem to spit out "not found" errors for
command -v on stderr
Diffstat (limited to 'bash/bashrc')
-rw-r--r-- | bash/bashrc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bash/bashrc b/bash/bashrc index 1ae8960a..7924a7e1 100644 --- a/bash/bashrc +++ b/bash/bashrc @@ -17,12 +17,12 @@ HISTTIMEFORMAT='%F %T ' unset MAILCHECK # Never beep at me -if command -v setterm >/dev/null; then +if command -v setterm &>/dev/null; then setterm -bfreq 0 fi # Turn off annoying and useless flow control keys -if command -v stty >/dev/null; then +if command -v stty &>/dev/null; then stty -ixon fi |