[F] Disable similar variable misspelling prompt shellcheck
This commit is contained in:
parent
371e660a39
commit
4894c472e6
1 changed files with 3 additions and 3 deletions
6
neofetch
6
neofetch
|
@ -1,7 +1,7 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
# vim: noai:ts=4:sw=4:expandtab
|
# vim: noai:ts=4:sw=4:expandtab
|
||||||
# shellcheck source=/dev/null
|
# shellcheck source=/dev/null
|
||||||
# shellcheck disable=2009
|
# shellcheck disable=2009 disable=2153
|
||||||
#
|
#
|
||||||
# Neofetch: A command-line system information tool written in bash 3.2+.
|
# Neofetch: A command-line system information tool written in bash 3.2+.
|
||||||
# https://github.com/dylanaraps/neofetch
|
# https://github.com/dylanaraps/neofetch
|
||||||
|
@ -1048,8 +1048,8 @@ get_distro() {
|
||||||
else
|
else
|
||||||
. /etc/os-release
|
. /etc/os-release
|
||||||
case $distro_shorthand in
|
case $distro_shorthand in
|
||||||
on) distro="$( twistver ) (${NAME} ${VERSION_ID})" ;;
|
on) distro="$( twistver ) ($NAME ${VERSION_ID})" ;;
|
||||||
tiny) distro="$( twistver ) (${NAME})" ;;
|
tiny) distro="$( twistver ) ($NAME)" ;;
|
||||||
off) distro="$( twistver ) (${PRETTY_NAME}})" ;;
|
off) distro="$( twistver ) (${PRETTY_NAME}})" ;;
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue