Explorar o código

[PR] #2 coloursofnoise - Fix terminal emulator detection

Fix terminal emulator detection
Hykilpikonna %!s(int64=3) %!d(string=hai) anos
pai
achega
7f949fe6b2
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      neofetch

+ 1 - 1
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)"