aboutsummaryrefslogtreecommitdiff
path: root/bin/backup
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2022-05-16 00:33:00 -0300
committerEuAndreh <eu@euandre.org>2022-05-16 00:33:00 -0300
commit34f799dd65990604bb3e6dc9b9bbcb9d806315ab (patch)
tree4947390d56b9917328590f59d78a737a66eea7e1 /bin/backup
parentetc/bash/vcs-ps1.sh: Better checking of empty shell variables (diff)
downloaddotfiles-34f799dd65990604bb3e6dc9b9bbcb9d806315ab.tar.gz
dotfiles-34f799dd65990604bb3e6dc9b9bbcb9d806315ab.tar.xz
bin/backup: Use $XDG_CACHE_HOME over hard-coded ~/.cache/
Diffstat (limited to 'bin/backup')
-rwxr-xr-xbin/backup2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/backup b/bin/backup
index 018e080..8d40b42 100755
--- a/bin/backup
+++ b/bin/backup
@@ -103,7 +103,7 @@ run() {
borg create \
$VERBOSE_FLAGS \
--comment "$COMMENT" \
- --exclude ~/.cache/ \
+ --exclude "$XDG_CACHE_HOME" \
--exclude ~/Downloads/ \
--stats \
--compression lzma,9 \