From 22ae5a5bba1bdeef3bc2de7834258ecfa6858176 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Mon, 3 Oct 2016 17:20:20 +1100 Subject: [PATCH] Term: better handling of tmux --- neofetch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neofetch b/neofetch index a418b55d..15f9fb8b 100755 --- a/neofetch +++ b/neofetch @@ -1554,7 +1554,7 @@ getterm() { esac case "${name// }" in - "${SHELL/*\/}" | *"sh" | "tmux" | "screen") getterm "$parent" ;; + "${SHELL/*\/}" | *"sh" | "tmux"* | "screen") getterm "$parent" ;; "login" | "init") term="$(tty)"; term="${term/*\/}" ;; "ruby" | "1" | "systemd" | "sshd"* | "python"*) unset term ;; "gnome-terminal-") term="gnome-terminal" ;;