aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-06-16 18:48:04 +0200
committerDanilo M. <danix@danix.xyz>2026-06-16 18:48:04 +0200
commitf90d7f606aca51235fdb2a22fdf2263218138331 (patch)
treeea5c1d71c6a6cfc5465256aa002db39ec97e0c70
parent3aaaf1753d8aa444fda44064ff2c655c5788cb25 (diff)
downloaddots-backup-f90d7f606aca51235fdb2a22fdf2263218138331.tar.gz
dots-backup-f90d7f606aca51235fdb2a22fdf2263218138331.zip
feat: dispatch --suggest early and exit
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
-rwxr-xr-xdot-backup.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/dot-backup.sh b/dot-backup.sh
index 7c77531..e95c67f 100755
--- a/dot-backup.sh
+++ b/dot-backup.sh
@@ -403,6 +403,11 @@ if [[ "$FIRST_RUN" == true ]]; then
exit 0
fi
+if [[ "$SUGGEST" == true ]]; then
+ do_suggest
+ exit 0
+fi
+
if [[ "$DRY_RUN" == true ]]; then
echo -e "${YELLOW}*** DRY RUN — no files will be copied ***${NC}\n"
fi