Skip to content

Instantly share code, notes, and snippets.

@oneKelvinSmith
Created June 4, 2013 13:57
Show Gist options
  • Save oneKelvinSmith/5706127 to your computer and use it in GitHub Desktop.
Save oneKelvinSmith/5706127 to your computer and use it in GitHub Desktop.
Red-Green Colorization of emacs with Guard. Add the following to beginning of Rails Guardfile.
# emacs colour customization
DARK_GREEN = '#67930F'
DARK_YELLOW = '#968B26'
DARK_RED = '#A20C41'
LIGHT_GREEN = '#C1F161'
LIGHT_YELLOW = '#F3EA98'
LIGHT_RED = '#FC5C94'
DEFAULT = '#49483E'
emacs_colors = {
:success => DARK_GREEN,
:pending => DARK_YELLOW,
:failed => DARK_RED,
:default => DEFAULT,
}
# notification :libnotify
# notification :growl_notify
notification :emacs, emacs_colors
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment