aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xdot-backup.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/dot-backup.sh b/dot-backup.sh
index 567d6c8..2ffdbcc 100755
--- a/dot-backup.sh
+++ b/dot-backup.sh
@@ -46,6 +46,13 @@ if [[ -f "$CONFIG_FILE" ]]; then
source "$CONFIG_FILE"
fi
+# Basenames skipped by --suggest. User may override in config.
+if [[ -z "${SUGGEST_IGNORE+set}" ]]; then
+ SUGGEST_IGNORE=(.cache .local .git .ssh .gnupg .Trash .pki .nv \
+ .mozilla .thunderbird .npm .cargo .rustup .java \
+ .dbus .config)
+fi
+
# Flags
DRY_RUN=false
VERBOSE=false