Add colors to farfetched script

This commit is contained in:
Talia 2020-07-30 21:05:54 +02:00
parent 9244944247
commit c7360af199
1 changed files with 1 additions and 1 deletions

View File

@ -2,4 +2,4 @@
if [ -d "$1" ]; then cd $1; fi
find . -type d -name '.git' \
| sed 's/\/\.git$//' \
| xargs -P $(nproc) -I % sh -c "echo 'Fetching %...'; cd %; git fetch"
| xargs -P $(nproc) -I % bash -c "echo -e 'Fetching \\033[00;31m%\\033[00m...'; cd %; git fetch"