From 880b554a353f795d4cfdd72e929a2914d7d89e47 Mon Sep 17 00:00:00 2001 From: Jordan Atwood Date: Thu, 18 Aug 2022 11:31:25 -0700 Subject: [PATCH] Don't print to stderr when screenfetch is not found --- src/.bashrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/.bashrc b/src/.bashrc index fc8d09f..a675777 100755 --- a/src/.bashrc +++ b/src/.bashrc @@ -245,7 +245,7 @@ function _bashrc_randomcolor { # prints a message of the day (time, shell info, system info, etc.) function _bashrc_motd { - if type screenfetch >/dev/null; then + if type screenfetch >/dev/null 2>/dev/null; then screenfetch 2>/dev/null return fi