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 ...) _______________________________________________ Bash-completion-devel mailing list Bash-completion-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/bash-completion-devel