summaryrefslogtreecommitdiff
path: root/.emacs.d/modules/thanos-tools.el
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2023-10-30 02:16:42 +0200
committerThanos Apollo <[email protected]>2023-10-30 02:16:42 +0200
commite12b8522704e8622474cc63dba0a3d0e6df63bc6 (patch)
tree4fc542d5f6c83a54636ec5f59dd8a6df3213a040 /.emacs.d/modules/thanos-tools.el
parent3c84e891ae9918ae0b2ab0fa384ac3cf8e521aff (diff)
emacs: Use doas for sudo-edit
Diffstat (limited to '.emacs.d/modules/thanos-tools.el')
-rw-r--r--.emacs.d/modules/thanos-tools.el4
1 files changed, 4 insertions, 0 deletions
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\\)\\'"))