unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#71328] [PATCH] gnu: add fzf-tab
@ 2024-06-02 20:20 Trevor Arjeski
  2024-06-29  9:57 ` bug#71328: Close Andreas Enge
  0 siblings, 1 reply; 2+ messages in thread
From: Trevor Arjeski @ 2024-06-02 20:20 UTC (permalink / raw)
  To: 71328; +Cc: Trevor Arjeski

fzf-tab is a zsh plugin that replaces the default autocompletion with fzf so
that you can use fuzzy finding and multi-selection.

Change-Id: I821eb28c9ac12e8d6449ce7bc389538d260d6091
---
 gnu/packages/shellutils.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/shellutils.scm b/gnu/packages/shellutils.scm
index be8d9bdc25..80ce5df719 100644
--- a/gnu/packages/shellutils.scm
+++ b/gnu/packages/shellutils.scm
@@ -912,3 +912,30 @@ (define-public liquidprompt
                                      \"source \" liquidprompt \"/share/liquidprompt/themes/powerline/powerline.theme\"))))))
 @end example\n")
     (license license:agpl3+)))
+
+(define-public fzf-tab
+  (package
+  (name "fzf-tab")
+  (version "1.1.2")
+  (home-page "https://github.com/Aloxaf/fzf-tab")
+  (source (origin
+            (method git-fetch)
+            (uri (git-reference
+                  (url "https://github.com/Aloxaf/fzf-tab.git")
+                  (commit (string-append "v" version))))
+            (file-name (git-file-name name version))
+            (sha256
+             (base32
+              "061jjpgghn8d5q2m2cd2qdjwbz38qrcarldj16xvxbid4c137zs2"))))
+  (build-system copy-build-system)
+  (arguments
+   '(#:install-plan '(("lib" "/share/zsh/plugins/fzf-tab/")
+                      ("modules" "/share/zsh/plugins/fzf-tab/")
+                      ("fzf-tab.plugin.zsh" "/share/zsh/plugins/fzf-tab/")
+                      ("fzf-tab.zsh" "/share/zsh/plugins/fzf-tab/")
+                      ("README.md" "/share/doc/fzf-tab/"))))
+  (synopsis "Replace zsh's default completion menu with fzf.")
+  (description
+   "Replaces zsh's default completion menu with fzf, enabling fuzzy finding
+and multi-selection.")
+  (license license:expat)))

base-commit: fa7906d64881ee12e0c418136b44c73766e3d169
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-06-29  9:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-02 20:20 [bug#71328] [PATCH] gnu: add fzf-tab Trevor Arjeski
2024-06-29  9:57 ` bug#71328: Close Andreas Enge

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).