From dfd287ca9b122ac360a0369d069218e853505709 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Sun, 25 Dec 2016 08:39:25 +1100 Subject: [PATCH] Term: Match sudo --- neofetch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neofetch b/neofetch index 4e41b708..5feb8757 100755 --- a/neofetch +++ b/neofetch @@ -1521,7 +1521,7 @@ get_term() { name="$(get_process_name "$parent")" case "${name// }" in - "${SHELL/*\/}" | *"sh" | "tmux"* | "screen" | "su") ;; + "${SHELL/*\/}" | *"sh" | "tmux"* | "screen" | "su"*) ;; "login"* | *"Login"* | "init" | "(init)") term="$(tty)" ;; "ruby" | "1" | "systemd" | "sshd"* | "python"* | "USER"*"PID"*) break ;; "gnome-terminal-") term="gnome-terminal" ;;