mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-04-24 04:29:25 +02:00
Update cakephp3.plugin.zsh
saffowing sugestion @mcornella
This commit is contained in:
parent
37b1fc65d5
commit
79a87fa437
1 changed files with 1 additions and 2 deletions
|
|
@ -12,6 +12,7 @@ _cakephp3_get_3rd_argument () {
|
|||
}
|
||||
|
||||
_cakephp3 () {
|
||||
has3rdargument=("all" "controller" "fixture" "model" "template")
|
||||
if [ -f bin/cake ]; then
|
||||
if (( CURRENT == 2 )); then
|
||||
compadd `_cakephp3_get_command_list`
|
||||
|
|
@ -27,8 +28,6 @@ _cakephp3 () {
|
|||
fi
|
||||
}
|
||||
|
||||
has3rdargument=("all" "controller" "fixture" "model" "template")
|
||||
|
||||
compdef _cakephp3 bin/cake
|
||||
compdef _cakephp3 cake
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue