diff options
author | P. 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) |
commit | 0b1bdd78ce5da126e3ce2fd0318840e20569b07c (patch) | |
tree | 8b00c29d8a78b6cb11a9c20b2c04ed2ac76c93f1 /.gitconfig.d/claws-mail | |
parent | 7cdc27300378d2467dbe9a7659eb07b9417d79e9 (diff) | |
download | claws-mail-0b1bdd78ce5da126e3ce2fd0318840e20569b07c.zip claws-mail-0b1bdd78ce5da126e3ce2fd0318840e20569b07c.tar.gz claws-mail-0b1bdd78ce5da126e3ce2fd0318840e20569b07c.tar.bz2 |
Filter out attach dirs from .claws-mail/clawsrc
Diffstat (limited to '.gitconfig.d/claws-mail')
-rw-r--r-- | .gitconfig.d/claws-mail | 3 |
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\";}'" |