aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDylan Araps <dylan.araps@gmail.com>2020-03-07 17:52:25 +0200
committerDylan Araps <dylan.araps@gmail.com>2020-03-07 17:52:25 +0200
commitf5b527d852acb84233f7e46d52870773ab789dc2 (patch)
treed5042246ee7a2498a18e153b5e1b64b9007a95f3
parent2bf774e70f0daf235b96c0a48d236ab89666721d (diff)
downloadpfetch-f5b527d852acb84233f7e46d52870773ab789dc2.tar.gz
docs: update
-rwxr-xr-xpfetch4
1 files changed, 4 insertions, 0 deletions
diff --git a/pfetch b/pfetch
index 568aa58..35560b6 100755
--- a/pfetch
+++ b/pfetch
@@ -113,6 +113,10 @@ get_os() {
# don't follow any os-release/lsb standards whatsoever.
command -v crux && distro=$(crux)
command -v guix && distro='Guix System'
+
+ # Check to see if we're running Bedrock Linux which is
+ # very unique. This simply checks to see if the user's
+ # PATH contais a Bedrock specific value.
case $PATH in
*/bedrock/cross/*) distro='Bedrock Linux'
esac