Skip to content
This repository
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 22 lines (18 sloc) 0.488 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
#!/usr/bin/env bash

#
# Sourced only
#

# Text color variables
txtund=$(tput sgr 0 1) # Underline
txtbld=$(tput bold) # Bold
regred=$(tput setaf 1) # Red
regblu=$(tput setaf 4) # Blue
reggrn=$(tput setaf 2) # Green
regwht=$(tput setaf 7) # White
txtrst=$(tput sgr0) # Reset
info=${regwht}*${txtrst} # Feedback
pass=${regblu}*${txtrst}
warn=${regred}*${txtrst}
ques=${regblu}?${txtrst}

FAIL_MSG="${regred}[FAILURE]${txtrst}"
SUCCESS_MSG="${reggrn}[SUCCESS]${txtrst}"
Something went wrong with that request. Please try again.