Add colors to farfetched script
This commit is contained in:
parent
9244944247
commit
c7360af199
1 changed files with 1 additions and 1 deletions
|
@ -2,4 +2,4 @@
|
||||||
if [ -d "$1" ]; then cd $1; fi
|
if [ -d "$1" ]; then cd $1; fi
|
||||||
find . -type d -name '.git' \
|
find . -type d -name '.git' \
|
||||||
| sed 's/\/\.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"
|
||||||
|
|
Loading…
Reference in a new issue