blob: ae48444b7b06e8d677bb07e8a1eb45d0b36963ab (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#!/usr/bin/env sh
GREEN='\033[0;32m'
NC='\033[0m'
# Fetches for git repos, meant to run at startup
for directory in "." "installdrier" ".config" ".password-store"
do
if cd ~/$directory
then
echo -ne "Fetching in ${GREEN}'~/${directory}'${NC}"
git fetch origin || exit 1
echo ", done."
fi
done
|