summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2018-05-25 22:44:29 (EDT)
committer P. J. McDermott <pj@pehjota.net>2018-05-25 22:44:29 (EDT)
commit0b1bdd78ce5da126e3ce2fd0318840e20569b07c (patch)
tree8b00c29d8a78b6cb11a9c20b2c04ed2ac76c93f1
parent7cdc27300378d2467dbe9a7659eb07b9417d79e9 (diff)
downloadclaws-mail-0b1bdd78ce5da126e3ce2fd0318840e20569b07c.zip
claws-mail-0b1bdd78ce5da126e3ce2fd0318840e20569b07c.tar.gz
claws-mail-0b1bdd78ce5da126e3ce2fd0318840e20569b07c.tar.bz2
Filter out attach dirs from .claws-mail/clawsrc
-rw-r--r--.gitconfig.d/claws-mail3
1 files changed, 2 insertions, 1 deletions
diff --git a/.gitconfig.d/claws-mail b/.gitconfig.d/claws-mail
index c13813e..aa69e59 100644
--- a/.gitconfig.d/claws-mail
+++ b/.gitconfig.d/claws-mail
@@ -2,7 +2,8 @@
clean = sed 's/password=!.*$/password=!/'
smudge = cat
[filter "clawsrc"]
- clean = sed 's/^last_opened_folder=.*$/last_opened_folder=/'
+ clean = "sed 's/^last_opened_folder=.*$/last_opened_folder=/; \
+ s/^\\(attach_.*_directory=\\).*$/\\1/;'"
smudge = cat
[filter "menurc"]
clean = "awk 'NR <=3 {print $0; next;} {print $0 | \"sort\";}'"