Terminal detection, add screen support:
This commit is contained in:
parent
d17eee816e
commit
d4adbecf9e
1 changed files with 1 additions and 1 deletions
2
neofetch
2
neofetch
|
@ -1752,7 +1752,7 @@ getterm () {
|
|||
name="$(ps -p $parent -o comm=)"
|
||||
|
||||
case "$name" in
|
||||
"${SHELL/*\/}" | *"sh" | "tmux" | "systemd") getterm "$parent" ;;
|
||||
"${SHELL/*\/}" | *"sh" | "tmux" | "screen" | "systemd") getterm "$parent" ;;
|
||||
*) term="$name" ;;
|
||||
esac
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue