Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
oh-my-zsh
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
github
oh-my-zsh
Commits
108fe7c9
Commit
108fe7c9
authored
Apr 24, 2013
by
Robby Russell
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1707 from bkg/django-static
Add django plugin command
parents
b01a48d0
c3b20a65
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
0 deletions
+15
-0
django.plugin.zsh
plugins/django/django.plugin.zsh
+15
-0
No files found.
plugins/django/django.plugin.zsh
View file @
108fe7c9
...
@@ -20,6 +20,19 @@ _managepy-createcachetable(){
...
@@ -20,6 +20,19 @@ _managepy-createcachetable(){
$nul_args
&&
ret
=
0
$nul_args
&&
ret
=
0
}
}
_managepy-collectstatic
(){
_arguments
-s
:
\
'--link=-[Create a symbolic link to each file instead of copying.]:'
\
'--noinput=-[Do NOT prompt the user for input of any kind.]:'
\
'--no-post-process=-[Do NOT post process collected files.]:'
\
'--ignore=-[Ignore files or directories matching this glob-style pattern. Use multiple times to ignore more.]:'
\
'--dry-run=-[Do everything except modify the filesystem.]:'
\
'--clear=-[Clear the existing files using the storage before trying to copy or link the original file.]:'
\
'--link=-[Create a symbolic link to each file instead of copying.]:'
\
'--no-default-ignore=-[Do not ignore the common private glob-style patterns "CVS", ".*" and "*~".]:'
\
$nul_args
&&
ret
=
0
}
_managepy-dbshell
(){
_managepy-dbshell
(){
_arguments
-s
:
\
_arguments
-s
:
\
$nul_args
&&
ret
=
0
$nul_args
&&
ret
=
0
...
@@ -163,6 +176,7 @@ _managepy-commands() {
...
@@ -163,6 +176,7 @@ _managepy-commands() {
commands
=(
commands
=(
'adminindex:prints the admin-index template snippet for the given app name(s).'
'adminindex:prints the admin-index template snippet for the given app name(s).'
'createcachetable:creates the table needed to use the SQL cache backend.'
'createcachetable:creates the table needed to use the SQL cache backend.'
'collectstatic:Collect static files in a single location.'
'dbshell:runs the command-line client for the current DATABASE_ENGINE.'
'dbshell:runs the command-line client for the current DATABASE_ENGINE.'
"diffsettings:displays differences between the current settings.py and Django's default settings."
"diffsettings:displays differences between the current settings.py and Django's default settings."
'dumpdata:Output the contents of the database as a fixture of the given format.'
'dumpdata:Output the contents of the database as a fixture of the given format.'
...
@@ -220,4 +234,5 @@ _managepy() {
...
@@ -220,4 +234,5 @@ _managepy() {
compdef _managepy manage.py
compdef _managepy manage.py
compdef _managepy django
compdef _managepy django
compdef _managepy django-admin.py
compdef _managepy django-manage
compdef _managepy django-manage
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment