From ad3991d05644175250250ceedb6b2733e719a0f3 Mon Sep 17 00:00:00 2001 From: Frank Terbeck Date: Mon, 28 Nov 2011 22:28:03 +0100 Subject: [PATCH] zshrc: Remove ansi-colors Signed-off-by: Frank Terbeck --- etc/zsh/zshrc | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc index 5e4050d..4c48269 100644 --- a/etc/zsh/zshrc +++ b/etc/zsh/zshrc @@ -3232,22 +3232,6 @@ readme() { fi } -# function ansi-colors() -#f5# Display ANSI colors -ansi-colors() { - typeset esc="\033[" line1 line2 - echo " _ _ _40 _ _ _41_ _ _ _42 _ _ 43_ _ _ 44_ _ _45 _ _ _ 46_ _ _ 47_ _ _ 49_ _" - for fore in 30 31 32 33 34 35 36 37; do - line1="$fore " - line2=" " - for back in 40 41 42 43 44 45 46 47 49; do - line1="${line1}${esc}${back};${fore}m Normal ${esc}0m" - line2="${line2}${esc}${back};${fore};1m Bold ${esc}0m" - done - echo -e "$line1\n$line2" - done -} - # TODO: So, this is the third incarnation of this function!? #f5# Reload given functions refunc() { -- 2.1.4