aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/terminals.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2021-10-03 14:57:29 +0300
committerEfraim Flashner <efraim@flashner.co.il>2021-10-03 14:57:29 +0300
commitb3fd8dafb0a6d0d43ef6a2075bd8cce5e41ea6f4 (patch)
tree1ea69fbcefd5d86f9a6c08b0f36c7e0c58dd4c96 /gnu/packages/terminals.scm
parent080ba97652b471c4836dd7e37f4dc72e5e358870 (diff)
downloadguix-b3fd8dafb0a6d0d43ef6a2075bd8cce5e41ea6f4.tar
guix-b3fd8dafb0a6d0d43ef6a2075bd8cce5e41ea6f4.tar.gz
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.
Diffstat (limited to 'gnu/packages/terminals.scm')
-rw-r--r--gnu/packages/terminals.scm8
1 files changed, 4 insertions, 4 deletions
diff --git a/gnu/packages/terminals.scm b/gnu/packages/terminals.scm
index 85bca58bca..637ddb7264 100644
--- a/gnu/packages/terminals.scm
+++ b/gnu/packages/terminals.scm
@@ -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"))))))))))