From a4f9cb96e9d6a82141beef46d4f676fa1c5b9b23 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Tue, 3 Nov 2020 05:48:58 +0200 Subject: [PATCH] oops --- pfetch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pfetch b/pfetch index c8fd87c..4c0c34b 100755 --- a/pfetch +++ b/pfetch @@ -6,7 +6,7 @@ # spamming '>/dev/null' throughout this function. This also guards # against aliases and functions. has() { - _cmd=$(command -v "$1") >/dev/null || return 1 + _cmd=$(command -v "$1") 2>/dev/null || return 1 [ -x "$_cmd" ] || return 1 }