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"