From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id yOYVNsiBU2cx+AAA62LTzQ:P1 (envelope-from ) for ; Fri, 06 Dec 2024 22:59:21 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id yOYVNsiBU2cx+AAA62LTzQ (envelope-from ) for ; Fri, 06 Dec 2024 23:59:20 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=tobias.gr header.s=2018 header.b=M2GQZva4; dmarc=pass (policy=reject) header.from=tobias.gr; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1733525960; a=rsa-sha256; cv=none; b=MYk7Kbj7/JMQP9sbl44QXFMIXL85tOp9iweoRi30RCIGTQxni4qh2QyyHkKGaOZGAjfwO1 zmiCJ+p+FPJaupcdgjIyUE2YSAQCSI8pkaBv/9lYuSbScxgyirFAgHkd3oa8ZS5QM6C3bm D/kzqw8/lgb+MXUdN/3wEoVQb7ZDhzpRsIDLQZrx2zQ2lehDemrcbwZ5GU18TJEvHtZxrQ 6MZBI2NNiiPFwRjixdMEXHWOwSUGjP+gq/mVR0nNqIXXd3udyHVKs0RFu9sjbzYs5HFuyY jyJgw7sY+ZgSJqQDfQbUNyadn4V2Bvh5+k8UtM4oG6HtEQf/3Y83xPET10J3lA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=tobias.gr header.s=2018 header.b=M2GQZva4; dmarc=pass (policy=reject) header.from=tobias.gr; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1733525960; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=UexsJS2IEbRtZ8tHPXcb6MD6Jx2vUA847E3Ju8iRmG0=; b=W4vZ08FrkEoxIEBWmXplf9mCAYCpIZ0iLMV0eMchCIKix2pj1HSrISSscInkgURzJdi2Z9 4H0CoDiE8Lnm6LrHKNTT8LpPjrd6OgC/IxfNz05JH7rYTkajTz9BmmtTDCWWWWxDBLk6n8 mQ2qyL3l0/v6M9nh0T4549XG0E2FIye0uMBORqmyb+e5WpXIAkniT7rp8NfbmjuoOLpZ8Y o/W6YTIki7jBNqpKr3HzRxLyv2kmzuyz9zypsP+cM3OcB7T8owJJjZ3yFXN2A7KNlLal2h vPItlc+0zJ3Jj4Ms0txTGjCU61pLXzSgaNlBNiS2fhB1FJpNd8qsuwK5NJCY2Q== 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 64CCC188CB for ; Fri, 06 Dec 2024 23:59:19 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tJhHV-0001fH-Pu; Fri, 06 Dec 2024 17:58:41 -0500 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 1tJhHQ-0001ex-I7 for help-guix@gnu.org; Fri, 06 Dec 2024 17:58:38 -0500 Received: from tobias.gr ([2a02:c205:2020:6054::1]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tJhHJ-0004MM-Ok for help-guix@gnu.org; Fri, 06 Dec 2024 17:58:36 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; s=2018; bh=UexsJS2IEbRtZ 8tHPXcb6MD6Jx2vUA847E3Ju8iRmG0=; h=references:in-reply-to:subject:to: from:date; d=tobias.gr; b=M2GQZva4Wvgs0UDjpci1zK9AUEBZXVTNQtO4J6qwqkun IIkbaYmvqAj30cAx62qHlVuaOKA4DpVvkWc+VsnGWrFIYQhrO5ATwANEW++zxTXL0ZHqYa sce+numpdRrFjXEiQ2i3po5BfJuM/plW23aL8znB8By6gjeKQYjru98GgqpIhAnk5/6Rxn hASTmwpEsllfS/VFf6SonJMLfNiy9UCd2kLDRWLya9FpEzhCrc/1QR5BzUMOMNVUc2GQIn QcSeRb4mUr9PPQmzPpxKg76p0bSzQGBCJViuAL/Eq9vj3zEUfV2zRDpH7QvAVu8LZyRosr MOuWMZR0+lk45Ul3Xw== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id 8af015ba (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Fri, 6 Dec 2024 22:58:19 +0000 (UTC) Date: Fri, 06 Dec 2024 22:58:23 +0000 From: Tobias Geerinckx-Rice To: Einar Largenius , help-guix Subject: Re: bash: have: command not found In-Reply-To: <87zfl8qxqn.fsf@gmail.com> References: <8734j0rj8h.fsf@gmail.com> <87zfl8qxqn.fsf@gmail.com> Message-ID: <76B20702-4119-4000-B3DF-D75BB0120576@tobias.gr> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a02:c205:2020:6054::1; envelope-from=me@tobias.gr; helo=tobias.gr 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, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -4.95 X-Spam-Score: -4.95 X-Migadu-Queue-Id: 64CCC188CB X-Migadu-Scanner: mx12.migadu.com X-TUID: MVWX+Gs0B243 Hiya, On 6 December 2024 21:59:12 UTC, Einar Largenius wrote: >fredag den 06 december 2024 skrev Tobias Geerinckx-Rice: >> Do you have any idea which package added this (broken) code? > >No idea, how can I tell which package adds img2sixel? libsixel, through mpv, but you misunderstand me, there's nothing wrong wit= h it=2E It's the canary in the coal mine=2E The 'broken code' I meant is this >for f in "$HOME"/=2Eguix-profile/etc/bash_completion=2Ed/* ; do > =2E "$f" >done Origin aside, it's broken=2E Completion files aren't written to be source= d this way=2E They'll get none of the library functions normally available= to them=E2=80=93such as 'have'=2E Hence the error=2E There is no bug=2E The correct solution is to let the bash-completion package take care of ba= sh completion, by sourcing etc/profile=2Ed/bash_completion=2Esh at shell st= artup=2E Guix System *does* explictly check for it! I'd missed that=2E Well spott= ed: You'll have to do the same, but with $HOME/=2Eguix-profile substituted for= /run/current-system/profile=2E Kind regards, T G-R Sent on the go=2E Excuse or enjoy my brevity=2E