This file contains hidden or 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
| #!/bin/bash | |
| # โ ๏ธ This is massively over engineered. You have been warned. | |
| # Nifty colours. | |
| # | |
| # Colours for echo commands. | |
| # For colour codes, see https://en.wikipedia.org/wiki/ANSI_escape_code#8-bit | |
| error=$(tput setaf 9) # bright red. | |
| success=$(tput setaf 2) # normal green. | |
| # warning=$(tput setaf 214) # orange. |