Compare commits
2 commits
1eaa310a0f
...
90fb7b3f47
Author | SHA1 | Date | |
---|---|---|---|
|
90fb7b3f47 | ||
|
e702086b2b |
2 changed files with 1 additions and 6 deletions
|
@ -1,13 +1,11 @@
|
|||
#!/bin/sh
|
||||
if cd "${1:-${HOME}/Git}"; then
|
||||
if cd ~/git; then
|
||||
for repo in *; do
|
||||
cd "$repo" || continue
|
||||
printf '\n%s\n' "$repo"
|
||||
git pull
|
||||
cd ..
|
||||
done
|
||||
elif [ -z "$1" ]; then
|
||||
exec "$0" ~/git
|
||||
else
|
||||
>&2 echo "Can't find your git folder!"
|
||||
fi
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
#!/bin/sh
|
||||
nvim +PackerUpdate +qall
|
||||
|
Loading…
Reference in a new issue