diff options
author | Solene Rapenne <solene@perso.pw> | 2021-05-25 10:16:50 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2021-09-26 15:01:02 +0300 |
commit | b8669aa64ede4de7646e13ccdd396a8f1f877957 (patch) | |
tree | a332ce8e99deacba9ac8fff3fd0c9454ef799760 /gnu/packages/terminals.scm | |
parent | ae0f3f04a75b762c80f588825a7673d89097660f (diff) | |
download | guix-b8669aa64ede4de7646e13ccdd396a8f1f877957.tar.gz |
gnu: fzf: Add fish shell functions.
* gnu/packages/terminals.scm (fzf)[arguments]: Install fish shell completions. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu/packages/terminals.scm')
-rw-r--r-- | gnu/packages/terminals.scm | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gnu/packages/terminals.scm b/gnu/packages/terminals.scm index de9bec9e66..29d4917e31 100644 --- a/gnu/packages/terminals.scm +++ b/gnu/packages/terminals.scm @@ -27,6 +27,7 @@ ;;; Copyright © 2021 Raphaël Mélotte <raphael.melotte@mind.be> ;;; Copyright © 2021 ikasero <ahmed@ikasero.com> ;;; Copyright © 2021 Brice Waegeneire <brice@waegenei.re> +;;; Copyright © 2021 Solene Rapenne <solene@perso.pw> ;;; ;;; This file is part of GNU Guix. ;;; @@ -895,11 +896,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")) (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) + (copy-file "shell/key-bindings.fish" + (string-append fish-completion "/fzf.fish")) (mkdir-p zsh-completion) (copy-file "shell/completion.zsh" (string-append zsh-completion "/_fzf")))))))))) |