From 9bc53fedde9af6773a15fd3693c6ca1039284aad Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Tue, 24 Sep 2019 15:01:41 +0300 Subject: [PATCH] docs: update --- pfetch | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pfetch b/pfetch index 8376ccf..d4ad2d2 100755 --- a/pfetch +++ b/pfetch @@ -1,5 +1,4 @@ #!/bin/sh -# shellcheck source=/dev/null # # pfetch - Simple POSIX sh fetch script. @@ -114,6 +113,9 @@ get_title() { get_distro() { case $os in Linux*|GNU*) + # Disable warning about shellcheck not being able + # to read '/etc/os-release'. This is fine. + # shellcheck source=/dev/null . /etc/os-release && distro=$PRETTY_NAME ;; esac