term: Fix macOS issue
This commit is contained in:
parent
0f7e7b6ee0
commit
bad073d78a
1 changed files with 2 additions and 1 deletions
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" ;;
|
||||||
|
|
Loading…
Reference in a new issue