浏览代码

Fix terminal emulator detection

coloursofnoise 3 年之前
父节点
当前提交
9abdae5fb4
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      neofetch

+ 1 - 1
neofetch

@@ -3315,7 +3315,7 @@ get_term() {
         name="$(get_process_name "$parent")"
         name="$(get_process_name "$parent")"
 
 
         case ${name// } in
         case ${name// } in
-            "${SHELL/*\/}"|*"sh"|"screen"|"su"*|"newgrp") ;;
+            "${SHELL/*\/}"|*"sh"|"screen"|"su"*|"newgrp"|"hyfetch") ;;
 
 
             "login"*|*"Login"*|"init"|"(init)")
             "login"*|*"Login"*|"init"|"(init)")
                 term="$(tty)"
                 term="$(tty)"