Created
April 18, 2013 17:43
-
-
Save pjama/5414715 to your computer and use it in GitHub Desktop.
Useful colour / style constants for bash scripting.
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 | |
# COLOURS | |
export NONE='\033[0;00m' | |
export PINK='\033[1;35m' | |
export CYAN='\033[0;36m' | |
export BLUE='\033[1;34m' | |
export RED='\033[1;31m' | |
# USAGE: | |
# source colours.sh | |
# echo -e "${RED}$(($COUNT+1)):${BLUE} $i $NONE" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment