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
ca0331da
Commit
ca0331da
authored
Sep 03, 2014
by
Robby Russell
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3087 from hacfi/symfony
Symfony2 plugin use first console found
parents
da94f45f
8d2dd8cc
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
symfony2.plugin.zsh
plugins/symfony2/symfony2.plugin.zsh
+3
-1
No files found.
plugins/symfony2/symfony2.plugin.zsh
View file @
ca0331da
# Symfony2 basic command completion
# Symfony2 basic command completion
_symfony_console
()
{
_symfony_console
()
{
echo
"php
$(
find
.
-maxdepth
2
-mindepth
1
-name
'console'
)
"
echo
"php
$(
find
.
-maxdepth
2
-mindepth
1
-name
'console'
-type
f |
head
-n
1
)
"
}
}
_symfony2_get_command_list
()
{
_symfony2_get_command_list
()
{
...
@@ -13,6 +13,8 @@ _symfony2 () {
...
@@ -13,6 +13,8 @@ _symfony2 () {
}
}
compdef _symfony2
'`_symfony_console`'
compdef _symfony2
'`_symfony_console`'
compdef _symfony2
'app/console'
compdef _symfony2
'bin/console'
compdef _symfony2 sf
compdef _symfony2 sf
#Alias
#Alias
...
...
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