mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-10-04 09:08:38 +00:00
Fix term on solaris
This commit is contained in:
2
neofetch
2
neofetch
@@ -1580,7 +1580,7 @@ getterm() {
|
||||
|
||||
case "${name// }" in
|
||||
"${SHELL/*\/}" | *"sh" | "tmux"* | "screen") getterm "$parent" ;;
|
||||
"login" | "init") term="$(tty)" ;;
|
||||
"login"* | "Login"* | "init") term="$(tty)" ;;
|
||||
"ruby" | "1" | "systemd" | "sshd"* | "python"*) unset term ;;
|
||||
"gnome-terminal-") term="gnome-terminal" ;;
|
||||
*) term="${name##*/}" ;;
|
||||
|
Reference in New Issue
Block a user