Compare commits

..

2 commits

Author SHA1 Message Date
Hippolyte Chauvin
90fb7b3f47 Correction : simplification du script updateall git 2023-07-15 14:56:37 +02:00
Hippolyte Chauvin
e702086b2b Suppression : script updateall nvim-packer 2023-07-15 14:54:44 +02:00
2 changed files with 1 additions and 6 deletions

View file

@ -1,13 +1,11 @@
#!/bin/sh #!/bin/sh
if cd "${1:-${HOME}/Git}"; then if cd ~/git; then
for repo in *; do for repo in *; do
cd "$repo" || continue cd "$repo" || continue
printf '\n%s\n' "$repo" printf '\n%s\n' "$repo"
git pull git pull
cd .. cd ..
done done
elif [ -z "$1" ]; then
exec "$0" ~/git
else else
>&2 echo "Can't find your git folder!" >&2 echo "Can't find your git folder!"
fi fi

View file

@ -1,3 +0,0 @@
#!/bin/sh
nvim +PackerUpdate +qall