Vox wrote:
 > Guillaume Rousse <[EMAIL PROTECTED]> writes:
 >
 >
 >>Already suggested, without any reply so far...
 >>
 >>Current root .bashrc source global /etc/bashrc, then redefine PATH. However,
 >>bash completion is defined through /etc/bashrc only for commands present in
 >>PATH, so won't works for all /sbin and /usr/sbin commands, such as urpmi.
 >>
 >>Just redefining PATH before sourcing /etc/bashrc is enough to fix this.
 >>
 >>BTW, bash_completion %post script has a "TODO: remove for 9.0"
 >>comment :-)
 >
 >
 >   Uhm...urpmi works on my box with bash_completion without a
 >   modification to root's .bashrc...I think you have a modified .bashrc
 >   making noise there.
 >
 >   Vox
 >

My root's .bashrc is not modified and completion on urpmi doesn't work. I tryied moving
the path declaration to the top as guillaume said and it works fine.



Reply via email to