term: Fix macOS issue
This commit is contained in:
parent
0f7e7b6ee0
commit
bad073d78a
3
neofetch
3
neofetch
|
@ -2789,7 +2789,8 @@ get_term() {
|
||||||
case "${name// }" in
|
case "${name// }" in
|
||||||
"${SHELL/*\/}" | *"sh" | "tmux"* | "screen" | "su"*) ;;
|
"${SHELL/*\/}" | *"sh" | "tmux"* | "screen" | "su"*) ;;
|
||||||
"login"* | *"Login"* | "init" | "(init)") term="$(tty)" ;;
|
"login"* | *"Login"* | "init" | "(init)") term="$(tty)" ;;
|
||||||
"ruby" | "1" | "systemd" | "sshd"* | "python"* | "USER"*"PID"* | "kdeinit"*)
|
"ruby" | "1" | "systemd" | "sshd"* | "python"* |
|
||||||
|
"USER"*"PID"* | "kdeinit"* | "launchd"*)
|
||||||
break
|
break
|
||||||
;;
|
;;
|
||||||
"gnome-terminal-") term="gnome-terminal" ;;
|
"gnome-terminal-") term="gnome-terminal" ;;
|
||||||
|
|
Reference in New Issue