A bash function to log in color