Fix terminal emulator on iOS over ssh
This commit is contained in:
parent
a56429e464
commit
ba7ed6280b
2
neofetch
2
neofetch
|
@ -1407,7 +1407,7 @@ getterm() {
|
||||||
case "${name// }" in
|
case "${name// }" in
|
||||||
"${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" | "python"*) unset term ;;
|
"ruby" | "1" | "systemd" | "sshd"* | "python"*) unset term ;;
|
||||||
"gnome-terminal-") term="gnome-terminal" ;;
|
"gnome-terminal-") term="gnome-terminal" ;;
|
||||||
*) term="$name" ;;
|
*) term="$name" ;;
|
||||||
esac
|
esac
|
||||||
|
|
Reference in New Issue