From e223b034ef4cf69f4540f7c3ce5c7ee8f1f6de84 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Mon, 16 May 2016 22:29:08 +1000 Subject: [PATCH] Find ppid of tmux --- neofetch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neofetch b/neofetch index 76a9735d..cd920066 100755 --- a/neofetch +++ b/neofetch @@ -1742,7 +1742,7 @@ getterm () { name="$(ps -p $parent -o comm=)" case "$name" in - "${SHELL/*\/}" | *"sh") getterm "$parent" ;; + "${SHELL/*\/}" | *"sh" | "tmux") getterm "$parent" ;; *) term="$name" ;; esac }