From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id RlZoJ8KyrGCZTgAAgWs5BA (envelope-from ) for ; Tue, 25 May 2021 10:18:10 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id MEh0IsKyrGBXWQAAbx9fmQ (envelope-from ) for ; Tue, 25 May 2021 08:18:10 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 4A816CA0E for ; Tue, 25 May 2021 10:18:10 +0200 (CEST) Received: from localhost ([::1]:51628 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1llSGO-00039k-Si for larch@yhetil.org; Tue, 25 May 2021 04:18:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48736) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1llSGI-00039T-SQ for guix-patches@gnu.org; Tue, 25 May 2021 04:18:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:33072) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1llSGI-0001bw-Ku for guix-patches@gnu.org; Tue, 25 May 2021 04:18:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1llSGI-0002Im-Go for guix-patches@gnu.org; Tue, 25 May 2021 04:18:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48643] PATCH] gnu: fzf: Add fish shell functions to the package. Resent-From: Solene Rapenne Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 25 May 2021 08:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 48643 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 48643@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16219306358789 (code B ref -1); Tue, 25 May 2021 08:18:02 +0000 Received: (at submit) by debbugs.gnu.org; 25 May 2021 08:17:15 +0000 Received: from localhost ([127.0.0.1]:44618 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1llSFQ-0002Hc-RM for submit@debbugs.gnu.org; Tue, 25 May 2021 04:17:14 -0400 Received: from lists.gnu.org ([209.51.188.17]:39116) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1llSFN-0002HT-P2 for submit@debbugs.gnu.org; Tue, 25 May 2021 04:17:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48556) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1llSFN-00036v-Gl for guix-patches@gnu.org; Tue, 25 May 2021 04:17:05 -0400 Received: from perso.pw ([163.172.223.238]:1328) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1llSFL-0000xn-CR for guix-patches@gnu.org; Tue, 25 May 2021 04:17:05 -0400 Received: from perso.pw (localhost [127.0.0.1]) by perso.pw (OpenSMTPD) with ESMTP id 9e9c4c92 for ; Tue, 25 May 2021 10:16:55 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=perso.pw; h=date:from:to :subject:message-id:mime-version:content-type :content-transfer-encoding; s=1337; bh=n803k374evmv3WKlqhCha4zPe BY=; b=GCNdGThhGIse+KwmSPgUFhNXMMKtY6ULTjcG5JO1pE7DB2JdHYN1S7XUZ 60e4xmdTDtpnH+Rw+ghj8lKbGCoLM6zyt5CN8ebYl3oNVNmttk9UEqA4O5be6ksy ITB4FHiYU2upOHX2fKA9FIgMEwoSxITPQo88jcrTR8vkfTTQZM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=perso.pw; h=date:from:to :subject:message-id:mime-version:content-type :content-transfer-encoding; q=dns; s=1337; b=XvzPNzpUYpBXFH269+x pi0e+S5U+X+wTabn9F1ApHuqlvfaHf2ST7LSChFg8SF6M6P7nCj3Rha2qAl0l69T lZMkfFgqTfPXVYO4DI/UL19pO8rq+UHc2DgYzHE8MGQXfFnH3pqZR5NzDIYHx86d V/MMfgcpPOSPxLuBv+ianYl4= Received: from localhost (176-154-164-34.abo.bbox.fr [176.154.164.34]) by perso.pw (OpenSMTPD) with ESMTPSA id d90440c1 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO) for ; Tue, 25 May 2021 10:16:51 +0200 (CEST) Date: Tue, 25 May 2021 10:16:50 +0200 Message-ID: <20210525101650.0706dd75@perso.pw> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=163.172.223.238; envelope-from=solene@perso.pw; helo=perso.pw X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: Solene Rapenne X-ACL-Warn: , Solene Rapenne via Guix-patches From: Solene Rapenne via Guix-patches via X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1621930690; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=u9TqSIHByuf6ThmHz8yWeDt43uZSP2QCZotNV8InTIE=; b=A8E8c3wcqq7QB0CyUjdzC1ScuVK+P6zcOq5fy3a8dqjGK2yMutF6fIiKRfrIZG7/5+IZS1 1ofxlOiCjp2xNRATV19U4yLAIA8LCI1hmjod6+qw+Bthkp9h2h3PB3efBjJ78G2BJVBLiD 9MfWwPkMJ80JaKKgTB4tQBsV93euFU8kk2fIrBw6ip+DEJv4rPxa1uMrhNN6jswFK3iIzW +LeoUrLo3OZmvUiONjPRmhz+WqUEkTFtw+rUFd7EAAiN7oqwQljlfaJNGTLyUT9NVV49W8 kk4BhTVMT+AYd2hXgRJlHFnq2dPbdbFXA9/wiB+RCUOIw3wBLGmwzMjFbGAxpg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1621930690; a=rsa-sha256; cv=none; b=hM3W0+n/cfg7XPa6uETUDttu7tjANe+bYsTqkq5hTinb8S1Jn2+nUKsuCjkqUH0SjGSALN 5mVqGr8TbbyCgireme4YubCft6XKEJhPQHJVf8R5UFBDjYA62d13ntV2asEG2sN8Ef3mE6 /dtTGE2KuK894sVdUkiIONJKqomRgPvJb2M3ZsIKHUwdFZ7ju7jvN7bBLluWyV9qGtckwq h3awUSoHKrfWjY5rg/EF34G0DbDPGSU6V9XZFnM8GhB2gx2EhCBehzvkYOK0eXW2Q4waTi XZUdwfRVm5WbKHm8YjqBEO6bNdwSlNCmdB/wuwGy0PjN1LndCNOeB5yqdhzqfg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=perso.pw header.s=1337 header.b=GCNdGThh; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -2.93 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=perso.pw header.s=1337 header.b=GCNdGThh; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 4A816CA0E X-Spam-Score: -2.93 X-Migadu-Scanner: scn0.migadu.com X-TUID: zt7NfUrlsWgk This allows to enable fzf functions for fish using the following code in the file ~/.config/fish/config.fish=20 source ~/.guix-profile/share/fish/functions/fzf fzf_key_bindings --- gnu/packages/terminals.scm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gnu/packages/terminals.scm b/gnu/packages/terminals.scm index 37636c7cdc..5273dce005 100644 --- a/gnu/packages/terminals.scm +++ b/gnu/packages/terminals.scm @@ -25,6 +25,7 @@ ;;; Copyright =C2=A9 2020 Leo Famulari ;;; Copyright =C2=A9 2021 Ekaitz Zarraga ;;; Copyright =C2=A9 2021 Rapha=C3=ABl M=C3=A9lotte +;;; Copyright =C2=A9 2021 Solene Rapenne ;;; ;;; This file is part of GNU Guix. ;;; @@ -851,11 +852,15 @@ usable with any list--including files, command histor= y, processes and more.") (lambda* (#:key outputs #:allow-other-keys) (let* ((out (assoc-ref outputs "out")) (bash-completion (string-append out "/etc/bash_comple= tion.d")) + (fish-completion (string-append out "/share/fish/func= tions")) (zsh-completion (string-append out "/share/zsh/site-f= unctions"))) (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")) (mkdir-p zsh-completion) (copy-file "shell/completion.zsh" (string-append zsh-completion "/_fzf"))))))))= )) --=20 2.31.1