Remove all whitespace from terminal name
This commit is contained in:
parent
5a99cb5237
commit
f2eb877bae
1 changed files with 1 additions and 1 deletions
2
neofetch
2
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" ;;
|
||||
|
|
Loading…
Reference in a new issue