guix_mirror_bot pushed a commit to branch world-rebuild
in repository guix.

commit 17e28e243a6c29f62f78758614d51671673495ab
Author: zero@thinky <[email protected]>
AuthorDate: Tue Jul 28 09:00:57 2026 +0300

    gnu: git-minimal: Remove zsh completions.
    
    Completions for git bundled with zsh itself are better
    and distributions mostly don't ship the adapted bash completions
    to prevent FPATH ordering from causing the worse completion
    to be activated.
    
    * gnu/packages/version-control.scm (git-minimal)[arguments]<#:phases>
      {install-shell-completion}: Remove zsh completion installation.
    
    Merges: https://codeberg.org/guix/guix/pulls/10226
    Signed-off-by: Nguyễn Gia Phong <[email protected]>
---
 gnu/packages/version-control.scm | 11 +++--------
 1 file changed, 3 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index d5ae53bd545..706e06cc611 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -587,18 +587,13 @@ optimized for version control systems.")
                        #~()))))
           (add-after 'install 'install-shell-completion
             (lambda _
-              (let ((bash (string-append #$output "/etc/bash_completion.d"))
-                    (zsh  (string-append #$output 
"/share/zsh/site-functions")))
+              (let ((bash (string-append #$output "/etc/bash_completion.d")))
                 ;; TODO: Install the tcsh completions in the right place.
-                (for-each mkdir-p (list bash zsh))
+                (for-each mkdir-p (list bash))
                 (copy-file "contrib/completion/git-completion.bash"
                            (string-append bash "/git"))
-                (copy-file "contrib/completion/git-completion.bash"
-                           (string-append zsh "/git-completion.bash"))
                 (copy-file "contrib/completion/git-prompt.sh"
-                           (string-append #$output "/bin/git-prompt"))
-                (copy-file "contrib/completion/git-completion.zsh"
-                           (string-append zsh "/_git")))))
+                           (string-append #$output "/bin/git-prompt")))))
           (add-after 'install 'remove-unusable-perl-commands
             (lambda _
               (let ((bin     (string-append #$output "/bin"))

Reply via email to