From 317c055fc3ec29adb1acd5722f7e7fe8483b336c Mon Sep 17 00:00:00 2001 From: cashmere Date: Fri, 4 Sep 2026 10:49:20 +0200 Subject: relic: 2026-09-04T10:49:24+02:00 --- config.org | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) (limited to 'config.org') diff --git a/config.org b/config.org index a5281d5..c5fd719 100644 --- a/config.org +++ b/config.org @@ -9,7 +9,9 @@ ;;; config.el --- Emacs-Kick --- A feature rich Emacs config for (neo)vi(m)mers -*- lexical-binding: t; -*- (pixel-scroll-precision-mode 1) (setq pgtk-wait-for-event-timeout 0.001) -(setq package-enable-at-startup nil) +(setq package-enable-at-startup nil + ;; Local modules are edited independently of their optional byte-code files, so never let an older .elc silently shadow newer source. + load-prefer-newer t) ;; (setq-default mode-line-format t) ;; disabled: boolean t is not valid for mode-line-format (add-to-list 'default-frame-alist '(undecorated . t)) ;; GC + file-name-handler-alist tuning lives in early-init.el now. @@ -4765,6 +4767,12 @@ place. `C-c C-c' commits, `C-c C-k' aborts." (kbd "C-k") #'helm-previous-line (kbd "C-z") #'helm-toggle-full-frame (kbd "C-g") #'helm-keyboard-quit) +(evil-define-key '(normal insert) helm-find-files-map + ;; Preserve Helm's directory-aware RET behavior instead of inheriting + ;; `helm-maybe-exit-minibuffer' from Evil Collection's generic Helm map. + (kbd "RET") #'helm-ff-RET) +(evil-define-key '(normal insert) helm-read-file-map + (kbd "RET") #'helm-ff-RET) (evil-define-key 'normal helm-map (kbd "") #'helm-keyboard-quit (kbd "c") #'evil-collection-change-in-minibuffer @@ -5577,10 +5585,15 @@ opening another file in same project does not re-notify." * zfs.el +Privileged ZFS operations stay non-interactive by default. Unlocking runs authentication, =cryptsetup=, ZFS label detection and pool import as one interactive =doas= operation, because OpenDoas binds its =persist= timestamp to the process session and Emacs creates a fresh session for each external command. Copland's PAM SSH-agent authentication asks for the Nitrokey PIN, while the LUKS passphrase is passed only to =cryptsetup=. + #+begin_src emacs-lisp (use-package zfs :ensure nil - :commands (zfs)) + :commands (zfs) + :custom + (zfs-privileged-command '("doas" "-n")) + (zfs-authentication-command '("doas"))) #+end_src * minimal-dashboard -- cgit v1.3.1