Add a libera.chat connection shortcut

This commit is contained in:
Evie Litherland-Smith 2024-05-19 12:25:48 +01:00
parent f5f2d6f98f
commit f3c0b7937e

View file

@ -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)