docs: update

This commit is contained in:
Dylan Araps 2019-09-24 16:45:47 +03:00
parent aadab4e15f
commit 89be323ebf

7
pfetch
View File

@ -86,17 +86,10 @@ log() {
} }
get_title() { get_title() {
case $os in
Linux*)
read -r hostname < /proc/sys/kernel/hostname
;;
esac
# Username is retrieved by first checking '$USER' with a fallback # Username is retrieved by first checking '$USER' with a fallback
# to the 'whoami' command. # to the 'whoami' command.
# #
# Hostname is retrieved by first checking '$HOSTNAME' with a fallback # Hostname is retrieved by first checking '$HOSTNAME' with a fallback
# to the OS specific detection above and finally an additional fallback
# 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