Comment 2 for bug 586711

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

The fix is to remove the semi colons

--- apt 2010-05-28 11:45:21.000000000 +0200
+++ /etc/bash_completion.d/apt 2010-05-28 11:59:45.000000000 +0200
@@ -29,8 +29,8 @@
                 ;;
             *)
                 COMPREPLY=( $( apt-cache --no-generate pkgnames "$cur" \
- 2> /dev/null ); $( apt-cache --no-generate pkgnames "lib$cur" \
- 2> /dev/null); )
+ 2> /dev/null ) $( apt-cache --no-generate pkgnames "lib$cur" \
+ 2> /dev/null) )
                 return 0
                 ;;
         esac