Skip to content

Instantly share code, notes, and snippets.

View eduardschaeli's full-sized avatar

Eduard Schäli eduardschaeli

View GitHub Profile
@eduardschaeli
eduardschaeli / terminal_colors.rb
Created October 24, 2011 12:04 — forked from potomak/terminal_ansicolors.rb
Testing terminal colors
COLORS = {
:black => "tput setab 0",
:red => "tput setab 1",
:green => "tput setab 2",
:brown => "tput setab 3",
:blue => "tput setab 4",
:purple => "tput setab 5",
:cyan => "tput setab 6",
:lightgrey => "tput setab 7"
}