Skip to content

Instantly share code, notes, and snippets.

@sgb-io
Created July 25, 2013 23:51
Show Gist options
  • Save sgb-io/6084843 to your computer and use it in GitHub Desktop.
Save sgb-io/6084843 to your computer and use it in GitHub Desktop.
Peep Show essentials for terminal.
# Welcome message
open_green_escape="\033[36m"
open_yellow_escape="\033[31m"
close_escape="\033[0m"
# Some of my fave peep show quotes.
funny_quotes=(
'What if I lose it? Im not gonna do a poo am I, Jez?'
'For the worst thing that could possibly happen, this is actually going extremely well.'
'Is this a terrible idea? It cant be. Its in a film. They wouldnt put a terrible idea in a film, theyd get sued.'
'Oh, what? Oh, cause its a computer you think its made of spiders webs and magic?'
'People like Coldplay and voted for the Nazis. You cant trust people, Jeremy.'
)
quote_this_time=${funny_quotes[$RANDOM % ${#funny_quotes[@]} ]}
echo -e "${open_green_escape}===================================="
echo -e " "
echo -e " '${quote_this_time}' ${close_escape}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment