From 1d05d201e5fd7931144fe437eb7cab03f996cefd Mon Sep 17 00:00:00 2001 From: Evan Pratten Date: Thu, 19 Oct 2023 14:33:48 -0400 Subject: [PATCH] fix uname flag --- configs/shells/bash/info.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/shells/bash/info.sh b/configs/shells/bash/info.sh index dc63aa5..b029333 100644 --- a/configs/shells/bash/info.sh +++ b/configs/shells/bash/info.sh @@ -13,7 +13,7 @@ fi if [ $(uname -s | grep -c BSD) -gt 0 ]; then # BSD echo -e "${green}Platform:$reset_color $(uname -s) $(uname -r) $(uname -p)" -elif [ $(uname -s | grep -c Msys) -gt 0 ]; then # Windows +elif [ $(uname -o | grep -c Msys) -gt 0 ]; then # Windows echo -e "${green}Platform:$reset_color $(uname -o) $(uname -r)" else # Linux-y things