Created
July 16, 2024 13:45
-
-
Save jenrik/217b0ff19b1180321398dd0d457cf56d to your computer and use it in GitHub Desktop.
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
sep() | |
{ | |
( | |
if type "cowsay" > /dev/null < /dev/null; then | |
cowsay "separator" | |
cowsay "separator" | |
cowsay "separator" | |
else | |
echo "*-----------*" | |
echo "| separator |" | |
echo "| separator |" | |
echo "| separator |" | |
echo "*-----------*" | |
fi | |
) | \ | |
( | |
if type "lolcat" > /dev/null < /dev/null; then | |
lolcat -t -F 0.3 | |
else | |
cat - | |
fi | |
) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment