unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Nils Landt <nils@landt.email>
To: Einar Largenius <einar.largenius@gmail.com>, help-guix@gnu.org
Subject: Re: bash: have: command not found
Date: Sat, 7 Dec 2024 05:01:25 +0100 (CET)	[thread overview]
Message-ID: <776785157.37135.1733544085529@office.mailbox.org> (raw)
In-Reply-To: <8734j0rj8h.fsf@gmail.com>

> Einar Largenius <einar.largenius@gmail.com> hat am 06.12.2024 15:14 CET geschrieben:
> 
>  
> Hello,
> 
> For a while now every time I start a terminal I get the following message, right before my prompt:
> 
>     bash: have: command not found
> 
> It doesn't appear to impact the functionality of the shell.
> 

This was reported a few months ago, see https://issues.guix.gnu.org/73142 (includes patch and link to upstream issue).
Personally, I added the following to my bashrc:

# libsixel uses have instead of _have, leading to an error.
# /usr/share/bash-completion/bash_completion defines have, but undefines it after completions are set up.
# This means it's not available for guix / nix packages.
have()
{
  _have $1 && have=yes
}


  parent reply	other threads:[~2024-12-07  4:02 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-06 14:14 bash: have: command not found Einar Largenius
2024-12-06 19:17 ` Tobias Geerinckx-Rice
2024-12-06 21:59   ` Einar Largenius
2024-12-06 22:58     ` Tobias Geerinckx-Rice
2024-12-09  9:16       ` Einar Largenius
2024-12-07  4:01 ` Nils Landt [this message]
2024-12-07  5:44   ` [PATCH] gnu: libsixel: Fix bash completion Hilton Chain
2024-12-09  9:20     ` Einar Largenius
2024-12-09  9:20       ` bug#73142: " Einar Largenius

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=776785157.37135.1733544085529@office.mailbox.org \
    --to=nils@landt.email \
    --cc=einar.largenius@gmail.com \
    --cc=help-guix@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).