diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2013-07-31 17:33:34 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2013-07-31 17:33:34 +1200 |
commit | 21a48d89b006c9faa67c8fa5512bc9b52e7e1d1c (patch) | |
tree | 1749e937b0521bbf901360682ac63face749ff8b /bash | |
parent | Use standard structure for if/for in shell (diff) | |
download | dotfiles-21a48d89b006c9faa67c8fa5512bc9b52e7e1d1c.tar.gz dotfiles-21a48d89b006c9faa67c8fa5512bc9b52e7e1d1c.zip |
Stop ignoring error output from setup commands
Diffstat (limited to 'bash')
-rw-r--r-- | bash/bash_logout | 2 | ||||
-rw-r--r-- | bash/bashrc | 4 | ||||
-rw-r--r-- | bash/bashrc.d/ls.bash | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/bash/bash_logout b/bash/bash_logout index c9b0ec6f..4438bbe6 100644 --- a/bash/bash_logout +++ b/bash/bash_logout @@ -1,6 +1,6 @@ # Clear console if possible when logging out if [[ "$SHLVL" = 1 ]]; then - command -v clear_console &>/dev/null \ + command -v clear_console >/dev/null \ && clear_console -q fi diff --git a/bash/bashrc b/bash/bashrc index 280a47ca..f8c9ff73 100644 --- a/bash/bashrc +++ b/bash/bashrc @@ -17,10 +17,10 @@ HISTTIMEFORMAT='%F %T ' unset MAILCHECK # Never beep at me -setterm -bfreq 0 &>/dev/null +setterm -bfreq 0 >/dev/null # Turn off annoying and useless flow control keys -stty -ixon &>/dev/null +stty -ixon >/dev/null # Use completion, if available if [[ -r /etc/bash_completion ]]; then diff --git a/bash/bashrc.d/ls.bash b/bash/bashrc.d/ls.bash index c4be33c2..aa0d5777 100644 --- a/bash/bashrc.d/ls.bash +++ b/bash/bashrc.d/ls.bash @@ -15,5 +15,5 @@ alias ls="ls $(__lsopts)" unset __lsopts # Apply color and exclusions to ls and grep -eval "$(dircolors --sh 2>/dev/null)" +eval "$(dircolors --sh)" |