#!/usr/bin/env bash uname -o &> /dev/null if [ $(uname -s) == "Darwin" ] then osname=$(sw_vers | cut -d':' -f2- | head -n 1 | xargs) elif [ -f /etc/os-release ] then osname=$(cat /etc/os-release | grep -w NAME | head -1 | sed 's/NAME=//g' | sed 's/\"//g' | sed 's/ Linux//g') elif [ $? -eq 0 ] then osname=$(uname -o) else osname="Unknown" fi array="probably a computer there's probably some ram in there init should ideally be running yeah you should probably go outside i would be lead to believe that / is mounted hey, what's this knob do ? do you have games on your phone ? you mean to tell me there aren't little men in this box? plan 4 from the front door i use $osname btw if you're reading this, it's already too late" nofetch=$(echo "$array" | shuf -n 1) if [ $1 == "-o" ] &> /dev/null || [ $2 == "-o" ] &> /dev/null then echo "$osname" elif [[ "$osname" == *"BSD"* ]] then echo " " echo "> $nofetch" | tr '[:upper:]' '[:lower:]' echo "> $(uname -smr)" | tr '[:upper:]' '[:lower:]' echo " " else echo " " echo "> $nofetch" | tr '[:upper:]' '[:lower:]' echo "> $osname $(uname -smr)" | tr '[:upper:]' '[:lower:]' echo " " fi