move shell scripts and zsh and add fav vscode themes

This commit is contained in:
writer 2024-10-16 14:34:03 +09:00
parent 40077637ce
commit e6794a8954
43 changed files with 55 additions and 34 deletions

View file

@ -0,0 +1,18 @@
#! /bin/bash
# script to print a chessboard
for (( i = 1; i <= 9; i++ ))
do
for (( j = 1; j <= 9; j++))
do
tot=`expr $i + $j` # notice that these tot must have no space to =
tmp=`expr $tot % 2`
if [ $tmp -eq 0 ]; then
echo -e -n "\033[47m "
else
echo -e -n "\033[40m "
fi
done
echo -e -n "\033[40m" # set to black
echo"" # print new line
done