From c1450f828898ed92eba4ca416a1a637052b4101f Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Thu, 2 Jun 2016 21:14:19 +1000 Subject: [PATCH] Fix trailing '-' with gnome-terminal --- neofetch | 1 + 1 file changed, 1 insertion(+) diff --git a/neofetch b/neofetch index f008c50e..00ff1ca5 100755 --- a/neofetch +++ b/neofetch @@ -1771,6 +1771,7 @@ getterm () { "${SHELL/*\/}" | *"sh" | "tmux" | "screen") getterm "$parent" ;; "login" | "init") term="$(tty)"; term=${term/*\/} ;; "ruby" | "1" | "systemd" | "sshd") unset term ;; + "gnome-terminal-") term="gnome-terminal" ;; *) term="$name" ;; esac }