소스 검색

[PR] #2 coloursofnoise - Fix terminal emulator detection

Fix terminal emulator detection
Hykilpikonna 3 년 전
부모
커밋
7f949fe6b2
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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)"