[zsh] Convert zprofile to do_init_functions

This commit is contained in:
Eryn Wells 2022-05-25 14:37:29 -07:00
parent 20414bb31c
commit edf8034308
2 changed files with 14 additions and 21 deletions

View file

@ -5,3 +5,11 @@ 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