From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id IKesDj6iFWTZEgAASxT56A (envelope-from ) for ; Sat, 18 Mar 2023 12:36:30 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id oFeaDj6iFWQjgAAA9RJhRA (envelope-from ) for ; Sat, 18 Mar 2023 12:36:30 +0100 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 F1DCA3D023 for ; Sat, 18 Mar 2023 12:36:29 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pdUqy-0001H4-PC; Sat, 18 Mar 2023 07:36:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pdUqw-0001Gp-K3 for bug-guix@gnu.org; Sat, 18 Mar 2023 07:36:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pdUqw-0004xb-BZ for bug-guix@gnu.org; Sat, 18 Mar 2023 07:36:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pdUqw-0006TL-7D for bug-guix@gnu.org; Sat, 18 Mar 2023 07:36:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#57498: bash-completion completion functions not loaded when using guix home References: <20220831073502.ru6dye2wbgc6vrbu@ubik.pkbd.org> In-Reply-To: <20220831073502.ru6dye2wbgc6vrbu@ubik.pkbd.org> Resent-From: wolf Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 18 Mar 2023 11:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57498 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 57498@debbugs.gnu.org Received: via spool by 57498-submit@debbugs.gnu.org id=B57498.167913932524834 (code B ref 57498); Sat, 18 Mar 2023 11:36:02 +0000 Received: (at 57498) by debbugs.gnu.org; 18 Mar 2023 11:35:25 +0000 Received: from localhost ([127.0.0.1]:46437 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pdUqL-0006SU-Al for submit@debbugs.gnu.org; Sat, 18 Mar 2023 07:35:25 -0400 Received: from wolfsden.cz ([37.205.8.62]:48444) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pdUqJ-0006SE-Bk for 57498@debbugs.gnu.org; Sat, 18 Mar 2023 07:35:24 -0400 Received: by wolfsden.cz (Postfix, from userid 104) id 5A7EC255225; Sat, 18 Mar 2023 11:35:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1679139317; bh=AhxCZRqFxJNpi6goaq9UUKP/Rn1Ar99DySZe4dtjxN0=; h=Resent-From:Resent-Date:Resent-To:Date:From:To:Subject; b=MBEU0mL9GSKXDCNodA9PDQXbNPPUtBwVh0UlLIDGDYG8tuWfATP1eGo+PNO6UX/pO e7Kis+x0HIugALEoS3I88cnGgam+bbpjNffzH0dmGwfRj5xXNbyNgNOTzHfYbkFgVo Q0ocSbKn7y1PrrzaiXW77WsO3yoGU6a5ljScJlu5yCV1JPIyLHhEE2pbC8E0W0fcqE d4YA1OEOFYk3QVx4PYI2iTZUC43MxJsPytDjPa/A8nRYMPVMbXsr4ocTdYWzzsjbov FG/DC+ZFdzeNYd4qUC6ssMWD1HOFMVDumA6lR0Qz+XWJCwD0n6yOFy7Z5zj5zwp851 u71y5ERQt8lhQ7vrQAZElgRtlXQbC5v/LvScDUNwOn1sZqzicG7S1Xuroo+gOk/jMG y9Hn17p39VVd8voCejuOgjtDhD97OAnlo1ZHtcheNFxo7zPn48HVSaKcBD698P06JX aR+bc4yFOSIjwh5a+RMeI5LHaSKnAfslSpkNRnQEOG4AVYwqzS4MR2DR2gaSXWCVA+ iYzVHe4IjG5YfX8fxS63gZhIGr+uE9w8Q8syRdLdVnpgXjRM/Bz67krEKeixS33LMy b4zLbNRGRxNODUKGp8GJqcV+B3VWVKlsgnXXVOrI/yWPUaKQTpU5PzNfsIElM4yhMg s8+rR0mFDS9WbaVymP4GJfvc= Received: from localhost (78-80-28-169.customers.tmcz.cz [78.80.28.169]) by wolfsden.cz (Postfix) with ESMTPSA id 1E1442530FD for <57498@debbugs.gnu.org>; Sat, 18 Mar 2023 11:35:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1679139313; bh=AhxCZRqFxJNpi6goaq9UUKP/Rn1Ar99DySZe4dtjxN0=; h=Resent-From:Resent-Date:Resent-To:Date:From:To:Subject; b=Zu4/bBi8NwaV3tX4PElM2UNUrcy/g2uvxd3sbvFF5k/UulCh/NPpCYFdXcOThN5JE wH/IKk/UMaTuM3ZYxtwLRaF/aLiIEVh0NGG+OwkAU2d9wsBqeIk98XIwvC61Ol8Vi6 0Zsjb0kjJQauL16piYbHAc6WpsiDdtl8N9G9yGd/Gt2RC64vXjQfvLUxU3ml4q1/3C XbMWHArn9rda3TTIlpYyV698bXKZu/hjS6FSfgxDYLRUnzQ4XRiEdBQu/G51WUlh7l TkUZ5suTw9dkgni5QiXHwo22e8EG1x+5MJ6gz8VOF4ZUaWQJk9PILzomN4CTm0Qwzq m+yUGlRghcMcR/23rV0oJieCWBGvLNomVuqNqJ/7uMJFvL9Fdnu/j/3mcae2vXVUKK UdmlqWo5bVUoGm0vACoKKnzMbVvwVXgXHxTX7lvy+hylzUITYJdbMZuHEZqdBrBezf W05RqZsZusqk6hEYaH0IVZU8c1Tsv9s0CEHzgNxpdAc1D6F5k+J/3XvdRJqjHCNsnh t+NkQlvsR83mTAO+ET+d4EjKxEzSEECnU8fFI8qPElN52ikEUp//FLO50Armnm6GGu oeUvgPIcV7V9LG2Z84xySGITQ0/1OiflvZgSZJhxc1Ln2pFYg2lN2Y2y998w4Xwy7o 63IDhvuRUXlAJI/WJKEpEh78= Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id ccdad388 for <57498@debbugs.gnu.org>; Sat, 18 Mar 2023 11:35:12 +0000 (UTC) Resent-From: wolf Resent-Date: Sat, 18 Mar 2023 12:35:12 +0100 Resent-Message-ID: Resent-To: 57498@debbugs.gnu.org Date: Sat, 18 Mar 2023 12:19:19 +0100 From: wolf Message-ID: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="r0y+ICo4nfcYPdAY" Content-Disposition: inline X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=wolfsden.cz header.s=mail header.b=MBEU0mL9; dkim=fail ("headers rsa verify failed") header.d=wolfsden.cz header.s=mail header.b="Zu4/bBi8"; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=wolfsden.cz (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1679139390; a=rsa-sha256; cv=none; b=u12TjtRotT219vz2p35UCEoWqjkcbzCOe/taVuJThVpA3dtk+9TpkmnTTMhykDNUeT5JYe 408zDJT1F/4+W9qjdKmgQY9yrxvPRQEGdo76fGen7ty7nGwGC+XdQLAp87HDV56axxlA1j m4x7iPSVlKKBPnMkkc7EeWkkcnj8cC1dsBKsVAa0WsYgrTIf5n1drGKGy3jTqD2rJC2iEw BVnr4ALMqKs2iuVF2HtM/lTgTgDgVQawWoPt/htD/Ku3J47JBISLuTuICT63aAJSzGQ76r krWHDfdN+qb0Xj+xQUCWF8tOslW5h/qW1yrsM2T/wu/OeCYxfXP1+DohTUDFFg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1679139390; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-to:resent-cc:resent-from: resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=Tl0HVjiC58S6R4dkKVye7p6pWES/OetNNtB0x179kQI=; b=HHYpXVkqhgAwIpibD8G2ZcTcHv5oEVoriPiuCVDjxthtqJ0aiMiAnkmDUy13pk+tRmED0W AjZFvuzMzs9eeyH5W3Lu+14e/pUX9GdBeZrctuJCWSVeiJFSnXV3nOKUBWbur/Ca1f/XvI 8JyrRrYeK7Ya8a3/XiHw8O5sU6yr3YqZ4k6ge+tY6uLVMJajbFQ6Kw9lOfolm3TaTQrWFe Nzues3/v4RXR/zm4gSnhgEhf2XwnIGisEz+QPO3ssHAfNb0HNGs8LgjVBCy4PSdCVmqyBy ZnyL56UwcDv1VVV7GA3C7OliZAyfnLpJL4tBf6hqxitC5pzymGKYvObFGFzx2Q== X-Migadu-Spam-Score: -3.75 X-Spam-Score: -3.75 X-Migadu-Queue-Id: F1DCA3D023 X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=wolfsden.cz header.s=mail header.b=MBEU0mL9; dkim=fail ("headers rsa verify failed") header.d=wolfsden.cz header.s=mail header.b="Zu4/bBi8"; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=wolfsden.cz (policy=none) X-TUID: vAJ4slw1ZYyo --r0y+ICo4nfcYPdAY Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, if anyone else runs into this before the core-updates merge happens, reason= ably simple solution without installing packages into other profiles (or system-= wide) seems to be to add following into services in home definition: ;; TODO: https://issues.guix.gnu.org/57498, should not be necessary after ;; core-updates merge (simple-service 'guix-home-bash-completion home-bash-service-type (home-bash-extension (bashrc (list (plain-file "load-guix-home-bash-completion" " for f in ~/.guix-home/profile/etc/bash_completion.d/* ~/.guix-home/profile/= share/bash-completion/completions/*; do [ -r \"$f\" ] && . \"$f\" done"))))) Leaving it here since it might be useful to someone. W. --=20 There are only two hard things in Computer Science: cache invalidation, naming things and off-by-one errors. --r0y+ICo4nfcYPdAY Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEt4NJs4wUfTYpiGikL7/ufbZ/wakFAmQVnjcACgkQL7/ufbZ/ wanHrA//UoDE/wQLc/TUeCLsBvH06YnAoItR62HMR/gS2jxUh1BR9U2bsxCMv9v0 QIFS83bbn0ZlKjgGAVw5ero1jh8vlASfc9DxHjrLhhYJBvmXj99Q85t6R4ysBdjy YDqAMyoseI/D0+6Slg/SmZQTUFW2iqTU92dOvRqd9qVZy+9hz0bObm8bULIj9pKT MwaystraU7xac7crAdDraCxG3ZaSBzPL/8iEbiYZ+k+EqYtYhSFJLyEDX6c2Tem/ XHXImNnp+YfzZWJvt2+ps+7RM4CoU+BRRNxtOSrCykcyV17s3wDoMvEd69ONSm1q m/oqu6fszwBj9JR5wEUW4oTL9EIi6S3fdSFEu8Aw1W1HtAtLi4CWSlOl5aVnVqRb i/pH73LJ2/XkddXLK2WP2uOhuLzXv/2B4rbdR2i/3QlRQk29ZbfYVET1y/FLRIIC 2e9SOt0LWisIa62d61KrAzeBCethZvjnpm7/j7++txXoAvwrpyQY7j2GstVy8UTb 1DPJloA07yaonfIC2s5lc1bLQCR60377Nei1MGsmpOTImdLl0w5KocA3USqNzSty ClUd7s4gM8SYUSJJhOESuHcuPFwS12/WNzhewJNIT6oJGfFaJ/epq1doLmJVcpq1 r5xFJ9gJ/37wgYrDYjZ+v8ap4/g+w+b2yY+wywA72xFGxYJfSYY= =MgzC -----END PGP SIGNATURE----- --r0y+ICo4nfcYPdAY--