aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDylan Araps <dylan.araps@gmail.com>2019-09-24 15:01:41 +0300
committerDylan Araps <dylan.araps@gmail.com>2019-09-24 15:01:41 +0300
commit9bc53fedde9af6773a15fd3693c6ca1039284aad (patch)
treee755235c8a879a4bceefce9a9733a9f61089c98e
parente5a9e736a3d66edc6ccb2166415b5baca9525e93 (diff)
downloadpfetch-9bc53fedde9af6773a15fd3693c6ca1039284aad.tar.gz
docs: update
-rwxr-xr-xpfetch4
1 files changed, 3 insertions, 1 deletions
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