Hi Einar,

On 6 December 2024 14:14:54 UTC, Einar Largenius <einar.largen...@gmail.com> 
wrote:
>    bash: have: command not found

'have' isn't a binary or bash builtin, it's a function defined only when 
sourcing completion files in the intended manner using the "bash-completion" 
package.  You'll see that in 'bash -x' output once you fix your configuration.

>It doesn't appear to impact the functionality of the shell.

It just won't define _img2sixel() to provide completions for that command.

>Here is the relevant part of my config:
>
>    # ...
>    for f in "$HOME"/.guix-profile/etc/bash_completion.d/* ; do
>        . "$f"
>    done
>    # ...

So yeah, this is the problem.  This isn't how completion works.  Remove it.  
Install "bash-completion".  Be happy.

Do you have any idea which package added this (broken) code?  Which 
distribution are you using?


Kind regards,

T G-R

Sent on the go.  Excuse or enjoy my brevity.

Reply via email to