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.master
parent
080ba97652
commit
b3fd8dafb0
|
@ -897,16 +897,16 @@ usable with any list--including files, command history, processes and more.")
|
|||
(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"))))))))))
|
||||
|
|
Reference in New Issue