Hiya, On 6 December 2024 21:59:12 UTC, Einar Largenius <einar.largen...@gmail.com> 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 with it. It's the canary in the coal mine. The 'broken code' I meant is this >for f in "$HOME"/.guix-profile/etc/bash_completion.d/* ; do > . "$f" >done Origin aside, it's broken. Completion files aren't written to be sourced this way. They'll get none of the library functions normally available to them–such as 'have'. Hence the error. There is no bug. The correct solution is to let the bash-completion package take care of bash completion, by sourcing etc/profile.d/bash_completion.sh at shell startup. Guix System *does* explictly check for it! I'd missed that. Well spotted: <https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/system.scm#n1134> You'll have to do the same, but with $HOME/.guix-profile substituted for /run/current-system/profile. Kind regards, T G-R Sent on the go. Excuse or enjoy my brevity.