Skip to content

Instantly share code, notes, and snippets.

@armeenm
armeenm / statusgit
Last active September 6, 2022 09:10 — forked from douglas/update_git_repos.sh
Update all git repositories recursively.
#!/bin/bash
declare -a COLORS
j=0
# Default colors are light for dark terminals.
# Use '-l' option for normal (darker) text.
# Red, green, yellow, blue, magenta, cyan.
for i in {91..96}; do COLORS[$j]=$i; let "j++"; done
usage() {