> Einar Largenius <einar.largen...@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
}

Reply via email to