aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xpfetch17
1 files changed, 12 insertions, 5 deletions
diff --git a/pfetch b/pfetch
index 6836387..8088632 100755
--- a/pfetch
+++ b/pfetch
@@ -331,6 +331,7 @@ get_os() {
(10.13*) distro='macOS High Sierra' ;;
(10.14*) distro='macOS Mojave' ;;
(10.15*) distro='macOS Catalina' ;;
+ (11*) distro='macOS Big Sur' ;;
(*) distro='macOS' ;;
esac
@@ -652,6 +653,12 @@ get_pkgs() {
(IRIX)
packages=$((packages - 3))
;;
+
+ # OpenBSD's wc prints whitespace before the output
+ # which needs to be stripped.
+ (OpenBSD)
+ packages=$((packages))
+ ;;
esac
case $packages in
@@ -1394,11 +1401,11 @@ get_ascii() {
([Mm]ac[Oo][Ss]*|[Dd]arwin*)
read_ascii 1 <<-EOF
- ${c1} .:'
- ${c1} _ :'_
- ${c2} .'\`_\`-'_\`\`.
- ${c2}:________.-'
- ${c3}:_______:
+ ${c2} .:'
+ ${c2} _ :'_
+ ${c3} .'\`_\`-'_\`\`.
+ ${c1}:________.-'
+ ${c1}:_______:
${c4} :_______\`-;
${c5} \`._.-._.'
EOF