zsh-workers
 help / color / mirror / code / Atom feed
From: Clint Adams <schizo@debian.org>
To: Chris Lamb <lamby@debian.org>, 562753@bugs.debian.org
Cc: zsh-workers@zsh.org
Subject: Re: Bug#562753: Improvements to Django completion script
Date: Mon, 28 Dec 2009 02:57:11 +0000	[thread overview]
Message-ID: <20091228025711.GA11644@scru.org> (raw)
In-Reply-To: <20091227182337.411153e7@happycat.chris-lamb.co.uk>

On Sun, Dec 27, 2009 at 06:23:37PM +0000, Chris Lamb wrote:
> 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.

Thanks, I'll commit this to CVS later this week if no one else gets to it.

--- _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


           reply	other threads:[~2009-12-28  2:57 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <20091227182337.411153e7@happycat.chris-lamb.co.uk>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20091228025711.GA11644@scru.org \
    --to=schizo@debian.org \
    --cc=562753@bugs.debian.org \
    --cc=lamby@debian.org \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).