-
Notifications
You must be signed in to change notification settings - Fork 0
/
.dotfilters.yaml
70 lines (70 loc) · 2.14 KB
/
.dotfilters.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
version: 2
filters:
"gnupg/.gnupg/gpg.conf":
rules:
defaultkey:
description: Default GnuPG key
regex: default-key(\s+)\w+
substitute: default-key\1(?#Key)
"irssi/.irssi/keepnick":
rules:
freenode-nick:
description: Nickname on Freenode
regex: freenode(\s+)\w+
substitute: freenode\1(?#Key)
oftc-nick:
description: Nickname on OFTC
regex: oftc(\s+)\w+
substitute: oftc\1(?#Key)
"irssi/.irssi/nickserv.auth":
rules:
freenode-nick:
description: Nickname on Freenode
regex: Freenode(\s+)\w+
substitute: Freenode\1(?#Key)
freenode-pass:
description: Pasword on Freenode
regex: Freenode(.*)(\s+)\w+$
substitute: Freenode\1\2(?#Key)
oftc-nick:
description: Nickname on OFTC
regex: OFTC(\s+)\w+
substitute: OFTC\1(?#Key)
oftc-pass:
description: Password on OFTC
regex: OFTC(.*)(\s+)\w+$
substitute: OFTC\1\2(?#Key)
"irssi/.irssi/config":
rules:
realname:
description: Real name on IRC
regex: real_name(\s*)=(\s*)(?#QuotedString);
substitute: real_name\1=\2"(?#Key)";
username:
description: User name on IRC
regex: user_name(\s*)=(\s*)(?#QuotedString);
substitute: user_name\1=\2"(?#Key)";
nick:
description: Nick name on IRC
regex: nick(\s*)=(\s*)(?#QuotedString);
substitute: nick\1=\2"(?#Key)";
"caff/.caffrc":
rules:
owner:
description: Name of GPG key owner
regex: \$CONFIG\{'owner'\}(\s*)=(\s*)(?#QuotedString);
substitute: $CONFIG{'owner'}\1=\2'(?#Key)';
email:
description: Email address of GPG key owner
regex: \$CONFIG\{'email'\}(\s*)=(\s*)(?#QuotedString);
substitute: $CONFIG{'email'}\1=\2'(?#Key)';
keyid:
description: GPG key id
regex: \$CONFIG\{'keyid'\}(\s*)=(.*qw\{)\w+(\})
substitute: $CONFIG{'keyid'}\1=\2(?#Key)\3
"zsh/.zshenv":
rules:
mail:
description: Email address
regex: export MAIL=\S+
substitute: export MAIL=(?#Key)