Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Ohmyzsh
Commits
8efdbef7
Commit
8efdbef7
authored
Dec 14, 2014
by
Robby Russell
Browse files
Merge pull request #3366 from ratza/master
Fix for command autocomplete for Symfony 2.6.x
parents
141c2e59
011f25d4
Changes
1
Hide whitespace changes
Inline
Side-by-side
plugins/symfony2/symfony2.plugin.zsh
View file @
8efdbef7
...
@@ -5,7 +5,7 @@ _symfony_console () {
...
@@ -5,7 +5,7 @@ _symfony_console () {
}
}
_symfony2_get_command_list
()
{
_symfony2_get_command_list
()
{
`
_symfony_console
`
--no-ansi
|
sed
"1,/Available commands/d"
|
awk
'/^ [a-z]+/ { print $1 }'
`
_symfony_console
`
--no-ansi
|
sed
"1,/Available commands/d"
|
awk
'/^
?
[a-z]+/ { print $1 }'
}
}
_symfony2
()
{
_symfony2
()
{
...
@@ -23,4 +23,4 @@ alias sfcl='sf cache:clear'
...
@@ -23,4 +23,4 @@ alias sfcl='sf cache:clear'
alias
sfcw
=
'sf cache:warmup'
alias
sfcw
=
'sf cache:warmup'
alias
sfroute
=
'sf router:debug'
alias
sfroute
=
'sf router:debug'
alias
sfcontainer
=
'sf container:debug'
alias
sfcontainer
=
'sf container:debug'
alias
sfgb
=
'sf generate:bundle'
alias
sfgb
=
'sf generate:bundle'
\ No newline at end of file
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