aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDylan Araps <dylan.araps@gmail.com>2019-09-24 16:45:47 +0300
committerDylan Araps <dylan.araps@gmail.com>2019-09-24 16:45:47 +0300
commit89be323ebf0aa5a8fbde2b2565ae2838872e3f1c (patch)
tree180c8f4c821cf5d8e8780f359ed07296728a83de
parentaadab4e15fd43dd0fc308a63916593bb378ff519 (diff)
downloadpfetch-89be323ebf0aa5a8fbde2b2565ae2838872e3f1c.tar.gz
docs: update
-rwxr-xr-xpfetch7
1 files changed, 0 insertions, 7 deletions
diff --git a/pfetch b/pfetch
index b9f270f..e50937c 100755
--- a/pfetch
+++ b/pfetch
@@ -86,17 +86,10 @@ log() {
}
get_title() {
- case $os in
- Linux*)
- read -r hostname < /proc/sys/kernel/hostname
- ;;
- esac
-
# Username is retrieved by first checking '$USER' with a fallback
# to the 'whoami' command.
#
# 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.
#
# Disable the warning about '$HOSTNAME' being undefined in POSIX sh as