Package: zsh
Version: 4.3.10-5
Severity: wishlist
Tags: patch

The attached patch improves the Django completion in two ways:

 * Enables the "runserver" options when used with "runserver_plus" (a
   popular add-on) where available.

 * Defaults to _files-like expansion on unrecognised subcommands.


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      [email protected]
       `-
--- _django     2009-12-27 18:18:08.000000000 +0000
+++ _django     2009-12-27 18:20:01.000000000 +0000
@@ -154,7 +154,7 @@
         )
         ;;
 
-      runserver)
+      runserver|runserver_plus)
         args+=(
           '--noreload[do not use auto-reloader]'
          '--adminmedia=[directory from which to serve admin 
media]:directory:_directories'
@@ -199,6 +199,10 @@
 
       validate|runfcgi)
         ;;
+
+      *)
+        _files
+        ;;
     esac
 
     _arguments $args && ret=0

Attachment: signature.asc
Description: PGP signature

Reply via email to