dotfiles

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

commit 592ce537ede258d33315dcf0ea3879bf3a3e0ff1
parent 0a2160b031229dabae3e278f6b13fff3e977b22f
Author: Duncaen <mail@duncano.de>
Date:   Mon, 13 Feb 2017 01:17:12 +0100

bin/colors: make it work with dash

Diffstat:
bin/colors | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/bin/colors b/bin/colors @@ -1,9 +1,10 @@ #!/bin/sh +# colors - terminal color and attribute escape sequences for x in 0 1 4 5 7 8; do for i in $(seq 30 37); do for a in $(seq 40 47); do - printf "\e[%d;%d;%dm\\\e[%d;%d;%dm\e[0;37;40m " "$x" "$i" "$a" "$x" "$i" "$a" + printf "\033[%d;%d;%dm\\\e[%d;%d;%dm\033[0;37;40m " "$x" "$i" "$a" "$x" "$i" "$a" done printf "\n" done