Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

fail-whale

▄████████████▄▐█▄▄▄▄█▌
█████▌▄▌▄▐▐▌██▌▀▀██▀▀
███▄█▌▄▌▄▐▐▌▀██▄▄█▌
▄▄▄▄█████████████

Easily print a fail whale

To use the fail whale in bash, simply clone the repository to a known location or copy and paste the function and use in your bash script or a utility yourself.

# If you cloned the repo or created a utility script
source path/to/fail-whale.bash

# When something bad happens
failWhale "Something went wrong :("

# Prints to console in red:
# ▄████████████▄▐█▄▄▄▄█▌
# █████▌▄▌▄▐▐▌██▌▀▀██▀▀
# ███▄█▌▄▌▄▐▐▌▀██▄▄█▌
# ▄▄▄▄█████████████

# Something went wrong :(