docs: update

This commit is contained in:
Dylan Araps 2019-09-24 16:43:28 +03:00
parent 15777b190a
commit aadab4e15f

6
pfetch
View File

@ -124,6 +124,12 @@ get_distro() {
# shellcheck source=/dev/null # shellcheck source=/dev/null
. /etc/os-release && distro=$PRETTY_NAME . /etc/os-release && distro=$PRETTY_NAME
;; ;;
*)
# Catch all to ensure '$distro' is never blank.
# This should also handle the BSDs, macOS etc.
distro=$os
;;
esac esac
} }