guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: gnu: fzf: Fix fish functions location.


From: guix-commits
Subject: branch master updated: gnu: fzf: Fix fish functions location.
Date: Sun, 03 Oct 2021 08:02:19 -0400

This is an automated email from the git hooks/post-receive script.

efraim pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new b3fd8da  gnu: fzf: Fix fish functions location.
b3fd8da is described below

commit b3fd8dafb0a6d0d43ef6a2075bd8cce5e41ea6f4
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun Oct 3 14:57:29 2021 +0300

    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.
---
 gnu/packages/terminals.scm | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/terminals.scm b/gnu/packages/terminals.scm
index 85bca58..637ddb7 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"))))))))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]