Hi,

The following patch from Ubuntu also allows completion for the show 
command. Please consider applying it.

Thanks,

James

diff -pruN 2.0.8.2/apt-file.bash_completion
2.0.8.2ubuntu2/apt-file.bash_completion
--- 2.0.8.2/apt-file.bash_completion    2005-05-04 16:51:49.000000000 +0100
+++ 2.0.8.2ubuntu2/apt-file.bash_completion     2007-06-14 17:19:35.000000000 
+0100
@@ -8,7 +8,7 @@ _apt-file()
        prev=${COMP_WORDS[COMP_CWORD-1]}
 
        for (( i=0; i < ${#COMP_WORDS}-1; i++ )); do
-               if [[ ${COMP_WORDS[i]} == @(list) ]]; then
+               if [[ ${COMP_WORDS[i]} == @(list|show) ]]; then
                        special=${COMP_WORDS[i]}
                fi
        done




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

Reply via email to