diff options
-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)" |