Skip to content

Commit

Permalink
Document unison ignores file.
Browse files Browse the repository at this point in the history
  • Loading branch information
pippijn committed Nov 4, 2023
1 parent a8b9dc9 commit 40cb3f2
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .local/share/unison/ignores.prf
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Ignore most dotfile directories, those are either in git or should be
# ignored there, too.
ignore = Name {.*/.*}
ignore = Name {.*/*}
ignore = Path {.bash_history}
Expand All @@ -6,13 +8,23 @@ ignore = Path {.python_history}
ignore = Name {.zcompdump*}
ignore = Path {.zshenv}
ignore = Path {.zshrc}

# Already in git.
ignore = Path {code}

# Currently not synced, but maybe should.
ignore = Path {backup}

# Unimportant temporary stuff.
ignore = Path {tmp}

# Unignore gnugp stuff. We do want that synced across hosts. GPG keys are
# shared (maybe they shouldn't, but I'm lazy and the point of unison is to
# protect against a machine burning down).
ignorenot = Name {.gnupg/pubring.kbx*}
ignorenot = Name {.gnupg/trustdb.gpg}

# These aren't actually immutable yet, but will be once I'm done with
# exif cleanups etc.
#immutable = Path {Photos}
#immutable = Path {Videos}

0 comments on commit 40cb3f2

Please sign in to comment.