소스 검색

distro: speed up guix lookup (#1452)

Erick Cafferata 5 년 전
부모
커밋
a1f80c3a61
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      neofetch

+ 1 - 1
neofetch

@@ -1031,7 +1031,7 @@ get_distro() {
             elif type -p guix >/dev/null; then
                 case $distro_shorthand in
                     on|tiny) distro="Guix System" ;;
-                    *) distro="Guix System $(guix system -V | awk 'NR==1{printf $5}')"
+                    *) distro="Guix System $(guix -V | awk 'NR==1{printf $4}')"
                 esac
 
             # Display whether using '-current' or '-release' on OpenBSD.