Add a libera.chat connection shortcut
This commit is contained in:
parent
f5f2d6f98f
commit
f3c0b7937e
8
init.el
8
init.el
|
@ -1382,6 +1382,14 @@ Calls `project-remember-project-under' for ~/.config/,
|
||||||
(erc-nick (user-login-name))
|
(erc-nick (user-login-name))
|
||||||
(erc-user-full-name (user-full-name)))
|
(erc-user-full-name (user-full-name)))
|
||||||
|
|
||||||
|
(defun my/libera-chat-connect ()
|
||||||
|
"Connect to irc.libera.chat directly."
|
||||||
|
(require 'erc)
|
||||||
|
(require 'password-store)
|
||||||
|
(erc-tls
|
||||||
|
:server "irc.libera.chat"
|
||||||
|
:password (password-store-get 'irc.libera.chat)))
|
||||||
|
|
||||||
(defun my/erc-connect ()
|
(defun my/erc-connect ()
|
||||||
"Connect to my ZNC IRC bouncer."
|
"Connect to my ZNC IRC bouncer."
|
||||||
(require 'erc)
|
(require 'erc)
|
||||||
|
|
Loading…
Reference in a new issue