#!/bin/bash red='\033[0;31m' bg_red='\033[0;41m' clear='\033[0m' print_background() { for i in {1..40} do printf "${bg_red} ${clear}" done } print_title() { print_background printf "${red} GIT STATUS ${clear}" print_background printf "$s\n" } print_title git status