docs: update

This commit is contained in:
Dylan Araps 2019-09-24 23:02:50 +03:00
parent 3f9d30f8b4
commit c87dd713a7

6
pfetch
View File

@ -88,7 +88,8 @@ get_title() {
# to the 'hostname' command.
#
# Disable the warning about '$HOSTNAME' being undefined in POSIX sh as
# it is intended for allowing the user to overwrite the value on invocation.
# the intention for using it is allowing the user to overwrite the
# value on invocation.
# shellcheck disable=SC2039
host=${HOSTNAME:-${hostname:-$(hostname)}}
@ -109,9 +110,6 @@ get_os() {
case $os in
Linux*)
# TODO: Some distributions don't support '/etc/os-release'.
# Bedrock support is something I'd like to add for example.
# Disable warning about shellcheck not being able
# to read '/etc/os-release'. This is fine.
# shellcheck source=/dev/null