The following commit has been merged in the master branch:
commit 76cf12bc190035740387d4b45e64f53aef5bb4e7
Author: Ville Skyttä <[email protected]>
Date:   Fri Nov 19 22:09:00 2010 +0200

    Add perl -d: completion.

diff --git a/completions/perl b/completions/perl
index 4b506fc..843e249 100644
--- a/completions/perl
+++ b/completions/perl
@@ -61,6 +61,15 @@ _perl()
             fi
             return 0
             ;;
+        -d|-dt)
+            if [[ $cur == :* ]]; then
+                temp="${cur#:}"
+                prefix="$prefix${cur%$temp}"
+                cur="Devel::$temp"
+                _perlmodules $1
+            fi
+            return 0
+            ;;
     esac
 
     if [[ "$cur" == -* ]]; then

-- 
bash-completion

_______________________________________________
Bash-completion-commits mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/bash-completion-commits

Reply via email to