From 5a99cb5237cf819669ed015378fccae884537274 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Sat, 28 May 2016 11:16:13 +1000 Subject: [PATCH] term: Add support for tty --- neofetch | 1 + 1 file changed, 1 insertion(+) diff --git a/neofetch b/neofetch index ad87859c..6eaa8bf5 100755 --- a/neofetch +++ b/neofetch @@ -1767,6 +1767,7 @@ getterm () { case "$name" in "${SHELL/*\/}" | *"sh" | "tmux" | "screen" | "systemd") getterm "$parent" ;; + "login" | "init") term="$(tty)"; term=${term/*\/} ;; *) term="$name" ;; esac fi