From e12b8522704e8622474cc63dba0a3d0e6df63bc6 Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Mon, 30 Oct 2023 02:16:42 +0200 Subject: emacs: Use doas for sudo-edit --- .emacs.d/modules/thanos-tools.el | 4 ++++ 1 file changed, 4 insertions(+) (limited to '.emacs.d/modules/thanos-tools.el') diff --git a/.emacs.d/modules/thanos-tools.el b/.emacs.d/modules/thanos-tools.el index 15841cd..5a29317 100644 --- a/.emacs.d/modules/thanos-tools.el +++ b/.emacs.d/modules/thanos-tools.el @@ -35,6 +35,10 @@ ;; Tramp (setf tramp-default-method "ssh") +;; sudo-edit +(require 'sudo-edit) +(setf sudo-edit-local-method "doas") ;; sudo is bloat + ;; Completions (setf dabbrev-ignored-buffer-regexps '("\\.\\(?:pdf\\|jpe?g\\|png\\)\\'")) -- cgit v1.2.3