* gnu/packages/emacs-xyz.scm (emacs-consult-dir): New variable. --- gnu/packages/emacs-xyz.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 444b761116..6bdfb8de04 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -30090,3 +30090,28 @@ (define-public emacs-fennel-mode "Fennel mode provides font-lock, indentation, navigation, and REPL for Fennel code within Emacs.") (license license:gpl3+))) + +(define-public emacs-consult-dir + (package + (name "emacs-consult-dir") + (version "0.1") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/karthink/consult-dir") + (commit (string-append "v" version)))) + (sha256 + (base32 "1cff4ssrn1mw2s5n090pdmwdirnfih8idg5f0ll2bi2djc4hq5kn")) + (file-name (git-file-name name version)))) + (build-system emacs-build-system) + (license license:gpl3+) + (propagated-inputs (list emacs-consult)) + (home-page "https://github.com/karthink/consult-dir") + (synopsis "Insert paths into minibuffer prompts in Emacs") + (description "Consult-dir allows you to easily insert directory +paths into the minibuffer prompt in Emacs. + +When using the minibuffer, you can switch - with completion and +filtering provided by your completion setup - to any directory you’ve +visited recently, or to a project or bookmarked directory. The +minibuffer prompt will be replaced with the directory you choose."))) -- 2.34.0