From 4894c472e62e01081b4e106021f14e18d3d13776 Mon Sep 17 00:00:00 2001 From: "Azalea (on HyDEV-Daisy)" Date: Thu, 11 Aug 2022 16:35:23 -0400 Subject: [PATCH] [F] Disable similar variable misspelling prompt shellcheck --- neofetch | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/neofetch b/neofetch index b0018cf6..d3ec41ec 100755 --- a/neofetch +++ b/neofetch @@ -1,7 +1,7 @@ #!/usr/bin/env bash # vim: noai:ts=4:sw=4:expandtab # shellcheck source=/dev/null -# shellcheck disable=2009 +# shellcheck disable=2009 disable=2153 # # Neofetch: A command-line system information tool written in bash 3.2+. # https://github.com/dylanaraps/neofetch @@ -1048,8 +1048,8 @@ get_distro() { else . /etc/os-release case $distro_shorthand in - on) distro="$( twistver ) (${NAME} ${VERSION_ID})" ;; - tiny) distro="$( twistver ) (${NAME})" ;; + on) distro="$( twistver ) ($NAME ${VERSION_ID})" ;; + tiny) distro="$( twistver ) ($NAME)" ;; off) distro="$( twistver ) (${PRETTY_NAME}})" ;; esac fi