dotfiles

configuration files
git clone https://pi.duncano.de/git/dotfiles.git
Log | Files | Refs | README

commit d432b08cd6a0c2f35b3e19b55ed4f2a197027b82
parent a4216705e0d13e50876700c1d4856f8dbf34f411
Author: Duncaen <mail@duncano.de>
Date:   Thu,  9 Jul 2015 10:13:24 +0200

mksh add colors function

Diffstat:
mksh.d/00-misc.sh | 12++++++++++++
1 file changed, 12 insertions(+), 0 deletions(-)

diff --git a/mksh.d/00-misc.sh b/mksh.d/00-misc.sh @@ -3,3 +3,15 @@ alias wanip='curl ipinfo.io/ip' function psgrep { ps u `pgrep "$1"` } + +function colors { + for x in 0 1 4 5 7 8; do + for i in $(seq 30 37); do + for a in $(seq 40 47); do + echo -ne "\e[$x;$i;$a""m\\\e[$x;$i;$a""m\e[0;37;40m " + done + echo "" + done + done + echo "" +}