Public bug reported:

Since "show" is an alias of "list", and completion is enabled for "apt-
file list", thus bash completion should also be applied for "apt-file
show".

This is the corresponding patch for file /etc/bash_completion.d/apt-
file:

@@ -8,7 +8,7 @@
        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

** Affects: apt-file (Ubuntu)
     Importance: Undecided
         Status: Unconfirmed

-- 
bash completion not enabled for "show"
https://bugs.launchpad.net/bugs/106997
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to