Created
June 19, 2022 20:20
-
-
Save johanlunds/9862db8ab7eea2a3525e83db37e8569a to your computer and use it in GitHub Desktop.
zsh_Hello.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# A fun MOTD! | |
# | |
# https://github.com/jaseg/lolcat (fast version) | |
# http://www.figlet.org/examples.html | |
# https://en.wikipedia.org/wiki/Cowsay | |
# | |
# Future improvements: | |
# - better fortunes. Check https://github.com/globalcitizen/taoup and others | |
# - center text | |
# - limit cowsay characters, limit figlet fonts - to limit height and increase readability and similarity | |
figlet -w $COLUMNS -f "$(find /opt/homebrew/opt/figlet/share/figlet/fonts/*.flf | sort -R | head -1)" Welcome Johan | lolcat -r | |
fortune -s | cowsay -n -f $(find /opt/homebrew/opt/cowsay/share/cows/*.cow | sort -R | head -1) | lolcat -r |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment