Don't print to stderr when screenfetch is not found

master
Jordan Atwood 2 years ago
parent 42a1d34740
commit 880b554a35
Signed by: nightfirecat
GPG Key ID: 615A619C2D73A6DF
  1. 2
      src/.bashrc

@ -245,7 +245,7 @@ function _bashrc_randomcolor {
# prints a message of the day (time, shell info, system info, etc.) # prints a message of the day (time, shell info, system info, etc.)
function _bashrc_motd { function _bashrc_motd {
if type screenfetch >/dev/null; then if type screenfetch >/dev/null 2>/dev/null; then
screenfetch 2>/dev/null screenfetch 2>/dev/null
return return
fi fi

Loading…
Cancel
Save