mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-27 20:56:46 +01:00
gnu: fzf: Fix fish functions location.
Reported by wp1148917-web <drwilly@drwilly.de>. * gnu/packages/terminals.scm (fzf)[arguments]: Adjust 'install-completions phase to install the fish vendor functions into the correct location.
This commit is contained in:
parent
080ba97652
commit
b3fd8dafb0
1 changed files with 4 additions and 4 deletions
|
@ -897,16 +897,16 @@ (define-public fzf
|
|||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(let* ((out (assoc-ref outputs "out"))
|
||||
(bash-completion (string-append out "/etc/bash_completion.d"))
|
||||
(fish-completion
|
||||
(string-append out "/share/fish/vendor_completions.d"))
|
||||
(fish-functions
|
||||
(string-append out "/share/fish/vendor_functions.d"))
|
||||
(zsh-completion (string-append out "/share/zsh/site-functions")))
|
||||
(with-directory-excursion "src/github.com/junegunn/fzf"
|
||||
(mkdir-p bash-completion)
|
||||
(copy-file "shell/completion.bash"
|
||||
(string-append bash-completion "/fzf"))
|
||||
(mkdir-p fish-completion)
|
||||
(mkdir-p fish-functions)
|
||||
(copy-file "shell/key-bindings.fish"
|
||||
(string-append fish-completion "/fzf.fish"))
|
||||
(string-append fish-functions "/fzf_key_bindings.fish"))
|
||||
(mkdir-p zsh-completion)
|
||||
(copy-file "shell/completion.zsh"
|
||||
(string-append zsh-completion "/_fzf"))))))))))
|
||||
|
|
Loading…
Reference in a new issue