From f3c0b7937ee07ddc2543fb0d4766d25ee554c76c Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Sun, 19 May 2024 12:25:48 +0100 Subject: [PATCH] Add a libera.chat connection shortcut --- init.el | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/init.el b/init.el index 12abb04..b618703 100644 --- a/init.el +++ b/init.el @@ -1382,6 +1382,14 @@ Calls `project-remember-project-under' for ~/.config/, (erc-nick (user-login-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 () "Connect to my ZNC IRC bouncer." (require 'erc)