emacs-prelude/samples/personal-erc.el

19 lines
660 B
EmacsLisp
Raw Normal View History

;; Join the a couple of interesting channels whenever connecting to Freenode.
(setq erc-autojoin-channels-alist '(("freenode.net"
"#emacs" "#ruby" "#lisp" "#clojure"
"#scala" "#haskell")))
;; set your nickname
(setq erc-nick "bozhidar")
;; share your username (optional)
(setq erc-user-full-name "Bozhidar Batsov")
;; auto identify
(when (file-exists-p (expand-file-name "~/.ercpass"))
(load "~/.ercpass")
(require 'erc-services)
(erc-services-mode 1)
(setq erc-prompt-for-nickserv-password nil)
(setq erc-nickserv-passwords
`((freenode ((erc-nick . ,erc-pass))))))