From f2eb877bae53e4eb15706a31102ad06c512560e8 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Sat, 28 May 2016 11:19:24 +1000 Subject: [PATCH] Remove all whitespace from terminal name --- neofetch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neofetch b/neofetch index 6eaa8bf5..c248072e 100755 --- a/neofetch +++ b/neofetch @@ -1765,7 +1765,7 @@ getterm () { ;; esac - case "$name" in + case "${name// }" in "${SHELL/*\/}" | *"sh" | "tmux" | "screen" | "systemd") getterm "$parent" ;; "login" | "init") term="$(tty)"; term=${term/*\/} ;; *) term="$name" ;;