helm/zsh/lib/output

37 lines
728 B
Plaintext
Raw Normal View History

2013-03-22 18:13:06 -07:00
# Normal Colors
black='\e[0;30m' # Black
red='\e[0;31m' # Red
green='\e[0;32m' # Green
yellow='\e[0;33m' # Yellow
blue='\e[0;34m' # Blue
purple='\e[0;35m' # Purple
cyan='\e[0;36m' # Cyan
white='\e[0;37m' # White
# Background
BLACK='\e[40m' # Black
RED='\e[41m' # Red
GREEN='\e[42m' # Green
YELLOw='\e[43m' # Yellow
BLUE='\e[44m' # Blue
PURPLE='\e[45m' # Purple
CYAN='\e[46m' # Cyan
WHITE='\e[47m' # White
NC="\e[m" # Color Reset
2013-10-18 04:03:28 -07:00
function echo_g {
echo -e "$green$1$NC"
}
2013-10-18 04:03:28 -07:00
function echo_r {
echo -e "$red$1$NC"
}
2013-03-22 18:13:06 -07:00
function indent {
sed "s/^/ /"
}
2013-03-23 02:18:22 -07:00
# vim:set ft=zsh: