GNU bug report logs - #39963
[PATCH] fd bash_completion typo

Previous Next

Package: guix-patches;

Reported by: mike <at> rohleder.de

Date: Sat, 7 Mar 2020 00:09:02 UTC

Severity: normal

Tags: patch

Done: Jakub Kądziołka <kuba <at> kadziolka.net>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: mike <at> rohleder.de
To: guix-patches <at> gnu.org
Subject: [PATCH] fd bash_completion typo
Date: Sat, 07 Mar 2020 01:03:02 +0100
[Message part 1 (text/plain, inline)]
Hey guix!

* The "fd" package installs its bash_completion file in the wrong directory.

[Message part 2 (text/x-patch, inline)]
diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm
index 72c982f23c..ce50562228 100644
--- a/gnu/packages/rust-apps.scm
+++ b/gnu/packages/rust-apps.scm
@@ -184,11 +184,11 @@ also knows about symlinks, extended attributes, and Git.")
                ;; Manpages
                (install-file "doc/fd.1" (string-append out "/share/man/man1"))
                ;; Completions
-               (install-completion "^fd.bash$" "/etc/bash-completion.d")
+               (install-completion "^fd.bash$" "/etc/bash_completion.d")
                (install-completion "^fd.fish$" "/share/fish/vendor_completions.d")
                (install-completion "^_fd$" "/share/zsh/site-functions")
-               (rename-file (string-append out "/etc/bash-completion.d/fd.bash")
-                            (string-append out "/etc/bash-completion.d/fd"))
+               (rename-file (string-append out "/etc/bash_completion.d/fd.bash")
+                            (string-append out "/etc/bash_completion.d/fd"))
                #t))))))
     (inputs `(("jemalloc" ,jemalloc)))
     (home-page "https://github.com/sharkdp/fd")
[Message part 3 (text/plain, inline)]
-- 
APL is a write-only language.  I can write programs in APL, but I can't
read any of them.
		-- Roy Keir
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 5 years and 154 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.