docs: update
This commit is contained in:
parent
3f9d30f8b4
commit
c87dd713a7
6
pfetch
6
pfetch
|
@ -88,7 +88,8 @@ get_title() {
|
||||||
# to the 'hostname' command.
|
# to the 'hostname' command.
|
||||||
#
|
#
|
||||||
# Disable the warning about '$HOSTNAME' being undefined in POSIX sh as
|
# 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
|
# shellcheck disable=SC2039
|
||||||
host=${HOSTNAME:-${hostname:-$(hostname)}}
|
host=${HOSTNAME:-${hostname:-$(hostname)}}
|
||||||
|
|
||||||
|
@ -109,9 +110,6 @@ get_os() {
|
||||||
|
|
||||||
case $os in
|
case $os in
|
||||||
Linux*)
|
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
|
# Disable warning about shellcheck not being able
|
||||||
# to read '/etc/os-release'. This is fine.
|
# to read '/etc/os-release'. This is fine.
|
||||||
# shellcheck source=/dev/null
|
# shellcheck source=/dev/null
|
||||||
|
|
Loading…
Reference in New Issue
Block a user