HomeAboutCodePastes

Paste on 2021-04-25T12:59:38

(defun d/dired-maybe-omit ()
  (when (directory-files default-directory nil "^[^.]")
    (dired-omit-mode)))

plain