term: Add support for tty
This commit is contained in:
parent
fd30321120
commit
5a99cb5237
1 changed files with 1 additions and 0 deletions
1
neofetch
1
neofetch
|
@ -1767,6 +1767,7 @@ getterm () {
|
|||
|
||||
case "$name" in
|
||||
"${SHELL/*\/}" | *"sh" | "tmux" | "screen" | "systemd") getterm "$parent" ;;
|
||||
"login" | "init") term="$(tty)"; term=${term/*\/} ;;
|
||||
*) term="$name" ;;
|
||||
esac
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue