[Bash-completion-devel] Bug#769462: Bug#769462: bash-completion broken for parameters of known programs not in $PATH

Ville Skyttä ville.skytta at iki.fi
Sat Nov 15 20:53:38 UTC 2014


losetup completion is shipped by util-linux, not bash-completion.

I just sent a patch upstream that should address this particular issue:
http://thread.gmane.org/gmane.linux.utilities.util-linux-ng/10186

However other completions in util-linux may invoke commands (other
than the one being completed) that are not necessarily in $PATH
(haven't checked which, if any); such cases should be done with $PATH
explicitly set, for example $(PATH="$PATH:/sbin:/usr/sbin" somecommand
...)



More information about the Bash-completion-devel mailing list