[zsh] Convert zprofile to do_init_functions
This commit is contained in:
parent
20414bb31c
commit
edf8034308
2 changed files with 14 additions and 21 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue