From c470e7eaa0571e26e220283a2291c6382f995287 Mon Sep 17 00:00:00 2001 From: Katelyn Hamer Date: Sun, 3 Nov 2019 13:54:54 +0000 Subject: [PATCH] Made Shellcheck happier --- lfetch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lfetch b/lfetch index 44f6f95..bc91ff5 100755 --- a/lfetch +++ b/lfetch @@ -26,12 +26,12 @@ os_info() { # Get shell version shell_version() { - case $(basename $SHELL) in + case $(basename "$SHELL") in "bash") echo "Bash $BASH_VERSION" ;; "zsh") - echo "$(zsh --version)" + zsh --version ;; *) echo "$SHELL"