Merge branch 'master' of ssh://git.famcosi.duckdns.org:222/gcordova/dot-vim into thinkpad-t14

This commit is contained in:
2022-05-15 17:58:46 -07:00
3 changed files with 7 additions and 4 deletions

View File

@@ -1,4 +1,5 @@
#!/bin/bash
# shellcheck disable=SC2016
usage() {
cat << EOT
Usage:
@@ -44,7 +45,7 @@ clone_bundles() {
case "$1" in
ls) repos 'echo -e "[red]@@[reset] [green]$(git -C @@ remote get-url origin)[reset]"' ;;
update) repos 'git -C @@ pull 2>&1 | sed "s|^|[@@] |g"' ;;
update) repos 'git -C @@ pull 2>&1 | sed "s|^|[green][@@][reset] |g"' ;;
save) repos 'echo -e "@@ $(git -C @@ remote get-url origin)"' | tee bundles.txt ;;
clone) clone_bundles ;;
?*) echo "Unknown command: $1" ;;