guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

267/384: gnu: just: Enable zsh completion.


From: guix-commits
Subject: 267/384: gnu: just: Enable zsh completion.
Date: Thu, 10 Oct 2024 07:58:29 -0400 (EDT)

efraim pushed a commit to branch rust-team
in repository guix.

commit 54b79cb8166975e66b210835a8d694dbf9942338
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Sep 23 15:47:36 2024 +0300

    gnu: just: Enable zsh completion.
    
    * gnu/packages/rust-apps.scm (just)[arguments]: Adjust custom
    'install-extras phase to also generate and install zsh shell completions.
    
    Change-Id: Ia906b320b58c3a45e39f20c1ed4c3479f660c098
---
 gnu/packages/rust-apps.scm | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm
index dca975ee4b..12205ef1aa 100644
--- a/gnu/packages/rust-apps.scm
+++ b/gnu/packages/rust-apps.scm
@@ -1345,11 +1345,10 @@ bar.  It is also compatible with sway.")
                (with-output-to-file
                  (string-append bash-completions-dir "/just")
                  (lambda _ (invoke just "--completions" "bash")))
-               ;; This seems to be broken currently
-               ;(mkdir-p zsh-completions-dir)
-               ;(with-output-to-file
-               ;  (string-append zsh-completions-dir "/_just")
-               ;  (lambda _ (invoke just "--completions" "zsh")))
+               (mkdir-p zsh-completions-dir)
+               (with-output-to-file
+                 (string-append zsh-completions-dir "/_just")
+                 (lambda _ (invoke just "--completions" "zsh")))
                (mkdir-p fish-completions-dir)
                (with-output-to-file
                  (string-append fish-completions-dir "/just.fish")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]