Commit 9a15949f1817
Changed files (2)
tools
emacs
config
tools/emacs/config/config-dired.el
@@ -149,8 +149,6 @@ This relies on the external 'fd' executable."
:after dired
:bind ("C-x C-j" . dired-jump)
:commands (dired-jump dired-omit-mode)
- :hook
- (dired-mode . dired-omit-mode)
:config
(setq-default dired-omit-files (concat dired-omit-files "\\|^\\.+$\\|^\\..+$")
dired-omit-verbose nil
@@ -236,6 +234,7 @@ This relies on the external 'fd' executable."
:hook (dired-mode . diredfl-mode))
(use-package trashed
+ :unless noninteractive
:commands (trashed)
:config
(setq trashed-action-confirmer 'y-or-n-p)
tools/emacs/config/config-search.el
@@ -75,8 +75,7 @@ confines of word boundaries (e.g. multiple words)."
;; UseRG
(use-package rg
- :if (and (*rg*)
- (not noninteractive))
+ :if *rg*
:commands (rg rg-project rg-dwim)
:bind (("M-s r r" . rg)
("M-s r p" . rg-project)