First of all, I confirm the bug. It's quite old and evident, I'm
surprised it's still there.

Then I want to point out that bash_completion is to be loaded if posix
mode it *not* enabled, so we have to negate the output of shopt:

if [ -f /etc/bash_completion ] && ! shopt -oq posix; then

(The previous solution, with 'set -o', suffered of the same problem.)




-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to