Skip to content

Instantly share code, notes, and snippets.

@pjama
Created April 18, 2013 17:43
Show Gist options
  • Save pjama/5414715 to your computer and use it in GitHub Desktop.
Save pjama/5414715 to your computer and use it in GitHub Desktop.
Useful colour / style constants for bash scripting.
#!/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