After some more looking I've found a workaround for this problem, described here: http://clock.co.uk/tech-blogs/bash-completion-problems-with-option-lists-generated-by-php-
The trick is to prefixed the php script with a blank echo. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/514989 Title: PHP process output (?) that breaks bash completion To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/php5/+bug/514989/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
