X-Git-Url: https://git.grml.org/?a=blobdiff_plain;f=etc%2Fzsh%2Fzshrc;h=f36ba40f37417d9d49adcd3ad971f2278fca99f6;hb=a4ebe167b1dee95f3c59c7afeb488290a52a8d0c;hp=45584c36cced7b0fcf7e14bdbe7b0420d496a3dd;hpb=f56e81c9c9fd6ef88daad8b7422be2c847473af4;p=grml-etc-core.git diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc index 45584c3..f36ba40 100644 --- a/etc/zsh/zshrc +++ b/etc/zsh/zshrc @@ -3231,22 +3231,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() {