mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 05:48:07 -05:00
fd: Install bash completion properly.
* gnu/packages/rust-apps.scm (fd)[arguments]: Replace the dash in "bash-completion.d" with an underscore. Signed-off-by: Jakub Kądziołka <kuba@kadziolka.net>
This commit is contained in:
parent
880a316591
commit
9eed0a74f9
1 changed files with 4 additions and 3 deletions
|
@ -2,6 +2,7 @@
|
||||||
;;; Copyright © 2019, 2020 John Soo <jsoo1@asu.edu>
|
;;; Copyright © 2019, 2020 John Soo <jsoo1@asu.edu>
|
||||||
;;; Copyright © 2019, 2020 Efraim Flashner <efraim@flashner.co.il>
|
;;; Copyright © 2019, 2020 Efraim Flashner <efraim@flashner.co.il>
|
||||||
;;; Copyright © 2020 Jakub Kądziołka <kuba@kadziolka.net>
|
;;; Copyright © 2020 Jakub Kądziołka <kuba@kadziolka.net>
|
||||||
|
;;; Copyright © 2020 Michael Rohleder <mike@rohleder.de>
|
||||||
;;;
|
;;;
|
||||||
;;; This file is part of GNU Guix.
|
;;; This file is part of GNU Guix.
|
||||||
;;;
|
;;;
|
||||||
|
@ -184,11 +185,11 @@ (define-public fd
|
||||||
;; Manpages
|
;; Manpages
|
||||||
(install-file "doc/fd.1" (string-append out "/share/man/man1"))
|
(install-file "doc/fd.1" (string-append out "/share/man/man1"))
|
||||||
;; Completions
|
;; 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.fish$" "/share/fish/vendor_completions.d")
|
||||||
(install-completion "^_fd$" "/share/zsh/site-functions")
|
(install-completion "^_fd$" "/share/zsh/site-functions")
|
||||||
(rename-file (string-append out "/etc/bash-completion.d/fd.bash")
|
(rename-file (string-append out "/etc/bash_completion.d/fd.bash")
|
||||||
(string-append out "/etc/bash-completion.d/fd"))
|
(string-append out "/etc/bash_completion.d/fd"))
|
||||||
#t))))))
|
#t))))))
|
||||||
(inputs `(("jemalloc" ,jemalloc)))
|
(inputs `(("jemalloc" ,jemalloc)))
|
||||||
(home-page "https://github.com/sharkdp/fd")
|
(home-page "https://github.com/sharkdp/fd")
|
||||||
|
|
Loading…
Reference in a new issue