#!/usr/bin/env zsh # Eryn Wells if ssh-add --apple-load-keychain; then echo fi if binary_exists sw_vers; then cat_program=cat if binary_exists lolcat; then cat_program=lolcat fi print "It's `date +'%H:%M on %A, %B %d'`.\nThis machine is a $HWMODEL.\nYou're running macOS $OSVERSION.\n" | $cat_program fi