-
Notifications
You must be signed in to change notification settings - Fork 0
/
erc-setup.el
38 lines (27 loc) · 890 Bytes
/
erc-setup.el
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
(require 'erc)
;;;; joining && autojoing
;; make sure to use wildcards for e.g. freenode as the actual server
;; name can be be a bit different, which would screw up autoconnect
(erc-autojoin-mode t)
(setq erc-autojoin-channels-alist
'((".*\\.freenode.net"
"#nixos"
"#haskell"
)))
;;;; tracking
;; check channels
(erc-track-mode t)
(setq erc-track-exclude-types '("JOIN" "NICK" "PART" "QUIT" "MODE"
"324" "329" "332" "333" "353" "477"))
;; don't show any of this
(setq erc-hide-list '("JOIN" "PART" "QUIT" "NICK"))
;;;; automatically login
(let ((ercpass "~/.ercpass"))
(when (file-exists-p ercpass)
(load "~/.ercpass")
(require 'erc-services)
(erc-services-mode 1)
(setq erc-prompt-for-nickserv-password nil)
(setq erc-nickserv-passwords
'((freenode (("badi" . freenode-badi-pass)))))))
(provide 'erc-setup)