[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bash: have: command not found
From: |
Nils Landt |
Subject: |
Re: bash: have: command not found |
Date: |
Sat, 7 Dec 2024 05:01:25 +0100 (CET) |
> 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
}