From ad47e456e3f03c541a1043b62011a0923d622004 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Fri, 21 Oct 2016 18:36:32 +1100 Subject: [PATCH] Fix term on solaris --- neofetch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neofetch b/neofetch index edbb9f9c..7241981d 100755 --- a/neofetch +++ b/neofetch @@ -1580,7 +1580,7 @@ getterm() { case "${name// }" in "${SHELL/*\/}" | *"sh" | "tmux"* | "screen") getterm "$parent" ;; - "login" | "init") term="$(tty)" ;; + "login"* | "Login"* | "init") term="$(tty)" ;; "ruby" | "1" | "systemd" | "sshd"* | "python"*) unset term ;; "gnome-terminal-") term="gnome-terminal" ;; *) term="${name##*/}" ;;