diff --git a/neofetch b/neofetch index 7761f0df..546ec0de 100755 --- a/neofetch +++ b/neofetch @@ -39,7 +39,8 @@ get_os() { "SunOS") os="Solaris" ;; "Haiku") os="Haiku" ;; "MINIX") os="MINIX" ;; - "AIX") os="AIX" ;; + "AIX") os="AIX" ;; + "HP-UX") os="HP-UX" ;; *) printf "%s\n" "Unknown OS detected: '$kernel_name', aborting..." >&2 printf "%s\n" "Open an issue on GitHub to add support for your OS." >&2 @@ -193,6 +194,10 @@ get_distro() { "AIX") distro="AIX $(oslevel)" ;; + + "HP-UX") + distro="HP-UX $kernel_version" + ;; esac [[ -z "$distro" ]] && distro="$os (Unknown)"