[PR] #2 coloursofnoise - Fix terminal emulator detection
Fix terminal emulator detection
This commit is contained in:
commit
7f949fe6b2
1 changed files with 1 additions and 1 deletions
2
neofetch
2
neofetch
|
@ -3315,7 +3315,7 @@ get_term() {
|
|||
name="$(get_process_name "$parent")"
|
||||
|
||||
case ${name// } in
|
||||
"${SHELL/*\/}"|*"sh"|"screen"|"su"*|"newgrp") ;;
|
||||
"${SHELL/*\/}"|*"sh"|"screen"|"su"*|"newgrp"|"hyfetch") ;;
|
||||
|
||||
"login"*|*"Login"*|"init"|"(init)")
|
||||
term="$(tty)"
|
||||
|
|
Loading…
Add table
Reference in a new issue