solaris: Fix term
This commit is contained in:
parent
ad47e456e3
commit
e11d40cd00
2
neofetch
2
neofetch
|
@ -1580,7 +1580,7 @@ getterm() {
|
||||||
|
|
||||||
case "${name// }" in
|
case "${name// }" in
|
||||||
"${SHELL/*\/}" | *"sh" | "tmux"* | "screen") getterm "$parent" ;;
|
"${SHELL/*\/}" | *"sh" | "tmux"* | "screen") getterm "$parent" ;;
|
||||||
"login"* | "Login"* | "init") term="$(tty)" ;;
|
"login"* | *"Login"* | "init") term="$(tty)" ;;
|
||||||
"ruby" | "1" | "systemd" | "sshd"* | "python"*) unset term ;;
|
"ruby" | "1" | "systemd" | "sshd"* | "python"*) unset term ;;
|
||||||
"gnome-terminal-") term="gnome-terminal" ;;
|
"gnome-terminal-") term="gnome-terminal" ;;
|
||||||
*) term="${name##*/}" ;;
|
*) term="${name##*/}" ;;
|
||||||
|
|
Reference in New Issue