misc: nits

This commit is contained in:
Dylan Araps 2021-08-13 10:51:08 +03:00
parent 9b3b53b984
commit 4b70dac514
No known key found for this signature in database
GPG Key ID: 13295DAC2CF13B5C

2
pfetch
View File

@ -169,7 +169,7 @@ get_title() {
# Disable the warning about '$HOSTNAME' being undefined in POSIX sh as
# the intention for using it is allowing the user to overwrite the
# value on invocation.
# shellcheck disable=SC3028
# shellcheck disable=3028,2039
host=${HOSTNAME:-${host:-$(hostname)}}
# If the hostname is still not found, fallback to the contents of the