Fix trailing '-' with gnome-terminal
This commit is contained in:
parent
37e7d8e4b3
commit
c1450f8288
1
neofetch
1
neofetch
|
@ -1771,6 +1771,7 @@ getterm () {
|
||||||
"${SHELL/*\/}" | *"sh" | "tmux" | "screen") getterm "$parent" ;;
|
"${SHELL/*\/}" | *"sh" | "tmux" | "screen") getterm "$parent" ;;
|
||||||
"login" | "init") term="$(tty)"; term=${term/*\/} ;;
|
"login" | "init") term="$(tty)"; term=${term/*\/} ;;
|
||||||
"ruby" | "1" | "systemd" | "sshd") unset term ;;
|
"ruby" | "1" | "systemd" | "sshd") unset term ;;
|
||||||
|
"gnome-terminal-") term="gnome-terminal" ;;
|
||||||
*) term="$name" ;;
|
*) term="$name" ;;
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
Reference in New Issue