15 lines
355 B
Bash
15 lines
355 B
Bash
#!/usr/bin/env zsh
|
|
# Eryn Wells <eryn@erynwells.me>
|
|
|
|
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
|
|
|