[Pkg-rust-maintainers] Bug#1099853: broot: fish completion doesn't work - zsh file shipped by mistake?

Vincent van Leeuwen debian at vinz.nl
Sat Mar 8 20:19:21 GMT 2025


Package: broot
Version: 1.44.7-2
Severity: normal

Dear Maintainer,

The broot package gives an error if you're trying to use it from the fish shell. As soon as you type 'broot ' in the shell you get the following error:


/usr/share/fish/vendor_completions.d/broot.fish (line 91): Missing end to balance this if statement
if [ "$funcstack[1]" = "_broot" ]; then
^^
from sourcing file /usr/share/fish/vendor_completions.d/broot.fish
source: Error while reading file '/usr/share/fish/vendor_completions.d/broot.fish'


Examining the file it seems to be zsh syntax, not fish syntax. I can't find the file in the upstream git repo, so maybe something shipped by this package got switched around by mistake?

I'm having some trouble reliably reproducing it, seems like completions are cached or something. On the second try I needed to type something like 'broot -s ' to get the same error. If you ignore the error broot mostly works fine after that, except that you can't install the 'br' shell integration without getting the same error.


Kind regards,
Vincent van Leeuwen

-- System Information:
Debian Release: trixie/sid
  APT prefers stable-security
  APT policy: (500, 'stable-security'), (500, 'testing'), (400, 'unstable'), (400, 'stable'), (300, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.12.12-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_USER
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages broot depends on:
ii  libc6        2.40-7
ii  libgcc-s1    14.2.0-17
ii  libgit2-1.8  1.8.4+ds-3

broot recommends no packages.

broot suggests no packages.

-- no debconf information



More information about the Pkg-rust-maintainers mailing list