* Re: Bug#562753: Improvements to Django completion script
[not found] <20091227182337.411153e7@happycat.chris-lamb.co.uk>
@ 2009-12-28 2:57 ` Clint Adams
0 siblings, 0 replies; only message in thread
From: Clint Adams @ 2009-12-28 2:57 UTC (permalink / raw)
To: Chris Lamb, 562753; +Cc: zsh-workers
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-12-28 2:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20091227182337.411153e7@happycat.chris-lamb.co.uk>
2009-12-28 2:57 ` Bug#562753: Improvements to Django completion script Clint Adams
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).